-
Add the SDK to your
Podfile
:pod `LaunchDarkly`
-
Import the LaunchDarkly client:
#import "LDClient.h"
-
Instantiate a new LDClient with your mobile API key:
LDConfigBuilder *config = [[LDConfigBuilder alloc] init]; [config withApiKey:@"YOUR_MOBILE_KEY"]; [[LDClient sharedInstance] start:config];
Check out our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for this SDK.