Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 648 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 648 Bytes

XtifyLib

Xtify library for iOS application with CocoaPods integration.

Example of usage

Using cocoapods. Podfile:

platform :ios, '6.0'

pod 'XtifyLib'

post_install do |installer|
    config = <<-XTIFYGLOBAL_H
#define xAppKey @"<your app key>"
#define xLocationRequired NO
#define xRunAlsoInBackground FALSE
#define xDesiredLocationAccuracy kCLLocationAccuracyKilometer  // kCLLocationAccuracyBest
#define xBadgeManagerMethod XLInboxManagedMethod
#define xLogging TRUE
#define xMultipleMarkets FALSE
XTIFYGLOBAL_H
    File.open("Pods/XtifyLib/XtifyLib/XtifyGlobal.h", "w") do |file|
      file.puts config
    end
end