In Your Application Delegate.

In your AppDelegate.m you connect yours app with My_Bees_Core, with this operation you can access to services in MicroBees platform.


#import <MyBeesKit/My_Bees_Core.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

My_Bees_Core *my_bees = [[My_Bees_Core alloc] init];

[my_bees connect: ^(BOOL finished){

if(finished){

}

} OnFailed:^(NSError * error){

}];

return YES;

}

When the connection is established the code in first callback is executed, you can check if this operation is completed with success or is failed in this case will call second callback.