REST API

The communication between server and client is managed with rest http. When you want invoke a specific method you can use : see also In Your Application Delegate. Demo code My_Bees_Core *my_bees = [[My_Bees_Core alloc] init]; NSString *method=@"/getMyprofile"; [my_bees send:method success:^(id responseObject){ NSLog(@"response: %@", responseObject); } failure:^(NSError * error){ NSLog(@"error: %@", error); }]; You can [...]

Import framework in Xcode.

Import our framework is very simple, drag and drop file.framework in your project and on General tab in configuration you must drag and drop under Embedded Binaries

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 [...]

Configure Xcode Project

The first step is to configure .plist file in your project. <key>CFBundleURLTypes</key>; <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>mbCLIENT_ID&lt;/string> </array> </dict> </array> <key>ClientID</key> <string>CLIENT_ID</string> You must replace CLIENT_ID with ClientID in your app on dashboard.

Getting started

These are the simple step you have to do before start coding your IOS APP: download the SDK from here framework; Create your microBees Application from Developer Dashboard; Get your App ClientID (the API_KEY); Add our SDK (and frameworks) to your Xcode Project; Configure your project in accordance with the following specifications. This SDK can [...]