Skip to content

Commit

Permalink
Taplytics 1.3.0 Release
Browse files Browse the repository at this point in the history
- improved UIPageViewController support
- removed TaplyticsManager.h
  • Loading branch information
jonathannorris committed Jun 9, 2014
1 parent 2850d60 commit c991701
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 15 deletions.
30 changes: 21 additions & 9 deletions Taplytics.framework/Versions/A/Headers/Taplytics.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
//

#import <UIKit/UIKit.h>
#import "TaplyticsManager.h"

typedef enum {
TLDev,
TLProduction,
TLLocalHost,
TLLocalTest
} TLServer;

typedef void(^TLExperimentBlock)(NSDictionary *variables);

Expand All @@ -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;

Expand All @@ -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.
Expand All @@ -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);

Expand Down Expand Up @@ -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;
Expand All @@ -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;

Expand All @@ -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
10 changes: 5 additions & 5 deletions Taplytics.framework/Versions/A/Headers/TaplyticsManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file modified Taplytics.framework/Versions/A/Taplytics
Binary file not shown.
2 changes: 1 addition & 1 deletion Taplytics.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
s.license = { :type => 'Commercial', :text => 'See http://taplytics.com/terms' }
s.homepage = 'http://taplytics.com'
Expand Down

0 comments on commit c991701

Please sign in to comment.