iOS SDK Quick Start

The Boomtrain iOS SDK allows you to track user activity, identify users, and render personalized recommendations directly from your native app experience. Here's how you can get started:

  1. Drag and Drop BoomtrainSDK.framework onto the "Frameworks" folder in your XCode project.
  2. In XCode, select your Target, then the Build Phases tab. Under "Link Binary With Libraries" add SystemConfiguration.framework.
  3. Add the following to your AppDelegate.m:
#import <Boomtrain.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [Boomtrain initialize:@"BOOMTRAIN-SITE-ID"];
}
  1. Implement the BoomtrainDelegate
#import <Boomtrain.h>

@interface MyViewController : UIViewController<BoomtrainDelegate>