diff --git a/Taplytics.framework/Versions/A/Headers/Taplytics.h b/Taplytics.framework/Versions/A/Headers/Taplytics.h index b4ff74d..4e569d3 100644 --- a/Taplytics.framework/Versions/A/Headers/Taplytics.h +++ b/Taplytics.framework/Versions/A/Headers/Taplytics.h @@ -6,7 +6,13 @@ // #import -#import "TaplyticsManager.h" + +typedef enum { + TLDev, + TLProduction, + TLLocalHost, + TLLocalTest +} TLServer; typedef void(^TLExperimentBlock)(NSDictionary *variables); @@ -17,8 +23,8 @@ typedef void(^TLExperimentBlock)(NSDictionary *variables); Delegate method called when an experiment is changed, use this to call runCodeExperiment:withBaseline:variations: again in your code to test and visually see the different code experiments. Only necessary for code experiments, visual experiments will update themselves. - @param experimentName the name of the experiment - @param variationName the name of the experiment variation, nil if Baseline + @param experimentName The name of the experiment + @param variationName The name of the experiment variation, nil if Baseline */ - (void)taplyticsExperimentChanged:(NSString*)experimentName variationName:(NSString*)variationName; @@ -37,8 +43,8 @@ typedef void(^TLExperimentBlock)(NSDictionary *variables); /** Start the Taplytics SDK with your api key. the api key can be found in the 'project settings' page. Console Logging: Taplytics will only log to the console in development builds. - @param apiKey your api key - @param options taplytics options dictionary, used for testing. Options include: + @param apiKey Your API key + @param options Taplytics options dictionary, used for testing. Options include: - @{@"delayLoad":@2} allows Taplytics to show your app's launch image and load its configuration for a maximum number of seconds on app launch. This is useful when running a code experiments on the first screen of your app, this will ensure that your users will get shown a variation on the first launch of your app. @@ -57,7 +63,7 @@ typedef void(^TLExperimentBlock)(NSDictionary *variables); [Taplytics performBackgroundFetch:completeBlock]; } - @param completionBlock completion block called when fetch is complete + @param completionBlock Completion block called when fetch is complete */ + (void)performBackgroundFetch:(void(^)(UIBackgroundFetchResult result))completionBlock NS_AVAILABLE_IOS(7_0); @@ -85,7 +91,7 @@ typedef void(^TLExperimentBlock)(NSDictionary *variables); }}]; @param experimentName Name of the experiment to run - @param baselineBlock baseline block called if experiment is in baseline variation + @param baselineBlock Baseline block called if experiment is in baseline variation @param variationNamesAndBlocks NSDictionary with keys of variation names and values of variation blocks. */ + (void)runCodeExperiment:(NSString*)experimentName withBaseline:(TLExperimentBlock)baselineBlock variations:(NSDictionary*)variationNamesAndBlocks; @@ -98,8 +104,8 @@ typedef void(^TLExperimentBlock)(NSDictionary *variables); /** Report that an experiment goal has been achieved, optionally pass number value to track goal such as purchase revenue. - @param goalName the name of the experiment goal - @param value a numerical value to be tracked with the goal. For example purcahse revenue. + @param goalName The name of the experiment goal + @param value A numerical value to be tracked with the goal. For example purcahse revenue. */ + (void)goalAchieved:(NSString*)goalName value:(NSNumber*)value; @@ -108,8 +114,14 @@ typedef void(^TLExperimentBlock)(NSDictionary *variables); */ + (void)startTaplyticsAPIKey:(NSString*)apiKey liveUpdate:(BOOL)liveUpdate __deprecated; +/** + DEPRECATED Start Taplytics Methods, please use startTaplyticsAPIKey:options: + */ + (void)startTaplyticsAPIKey:(NSString*)apiKey server:(TLServer)server __deprecated; +/** + DEPRECATED Start Taplytics Methods, please use startTaplyticsAPIKey:options: + */ + (void)startTaplyticsAPIKey:(NSString*)apiKey server:(TLServer)server liveUpdate:(BOOL)liveUpdate __deprecated; @end \ No newline at end of file diff --git a/Taplytics.framework/Versions/A/Headers/TaplyticsManager.h b/Taplytics.framework/Versions/A/Headers/TaplyticsManager.h index 56105f6..20ec739 100644 --- a/Taplytics.framework/Versions/A/Headers/TaplyticsManager.h +++ b/Taplytics.framework/Versions/A/Headers/TaplyticsManager.h @@ -21,20 +21,20 @@ __deprecated @interface TaplyticsManager : NSObject // Start Taplytics With API Key Methods -+ (void)startTaplyticsAPIKey:(NSString*)apiKey; ++ (void)startTaplyticsAPIKey:(NSString*)apiKey __deprecated; -+ (void)startTaplyticsAPIKey:(NSString*)apiKey liveUpdate:(BOOL)liveUpdate; ++ (void)startTaplyticsAPIKey:(NSString*)apiKey liveUpdate:(BOOL)liveUpdate __deprecated; -+ (void)startTaplyticsAPIKey:(NSString*)apiKey server:(TLServer)server; ++ (void)startTaplyticsAPIKey:(NSString*)apiKey server:(TLServer)server __deprecated; -+ (void)startTaplyticsAPIKey:(NSString*)apiKey server:(TLServer)server liveUpdate:(BOOL)liveUpdate; ++ (void)startTaplyticsAPIKey:(NSString*)apiKey server:(TLServer)server liveUpdate:(BOOL)liveUpdate __deprecated; #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 // Update Taplytics Properties in Background, only iOS7 and later -+ (void)performBackgroundFetch:(void(^)(UIBackgroundFetchResult))completionBlock; ++ (void)performBackgroundFetch:(void(^)(UIBackgroundFetchResult))completionBlock __deprecated; #endif diff --git a/Taplytics.framework/Versions/A/Taplytics b/Taplytics.framework/Versions/A/Taplytics index f2323a1..ffa33c6 100644 Binary files a/Taplytics.framework/Versions/A/Taplytics and b/Taplytics.framework/Versions/A/Taplytics differ diff --git a/Taplytics.podspec b/Taplytics.podspec index f5b3266..ccf1306 100644 --- a/Taplytics.podspec +++ b/Taplytics.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Taplytics' - s.version = '1.2.50' + s.version = '1.3.0' s.author = { 'Taplytics' => 'help@taplytics.com' } s.license = { :type => 'Commercial', :text => 'See http://taplytics.com/terms' } s.homepage = 'http://taplytics.com'