This SDK is built on CloudFS API.
-
Clone this repo.
-
Add the BitcasaSDK project file to your Xcode project. To do that, drag the BitcasaSDK.xcodeproj file into your Project Navigator.
-
Navigate to Build Phases settings of your target. Under Link Binary with Libraries, add libBitcasaSDK.a and MobileCoreServices.framework.
-
Navigate to Build Settings, and add -ObjC to Other Linker Flags.
-
Obtain a Bitcasa CloudFS App ID, secret, and API server URL. (https://www.bitcasa.com/cloudfs)
-
Add a test user account.
-
In your app, instantiate a session:
Session* session = [[Session alloc] initWithServerURL:SERVER_URL clientId:APP_ID clientSecret:APP_SECRET];
- Authenticate a user:
[session authenticateWithUsername:@"username"
andPassword:@"password"];
...and you're good to go!