TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2016 |
Maintained by Patrick Nollet.
Objective C framework for the Sugar Sync API on iOS
see https://www.sugarsync.com/developer
For a description of the SugarSync REST API.
This is a fork from the original library (https://github.com/huadee/sugarsync-ios) with a few additions:
You can also import the files manually. If you do, please make sure that you're also importing files from KissXML and KeychainItemWrapper. If you intend to use the login UI, add the resource files to a bundle named SugarSyncSDK.bundle
.
#import <SugarSyncSDK/SugarSyncClient.h>
SugarSyncClient *sugarSyncClient = [SugarSyncClient createWithApplicationId:anAppId
accessKey:anAccessKey
privateAccessKey:aPrivAccessKey
userAgent:aUserAgent];
if ( !sugarSyncClient.isLoggedIn )
{
[sugarSyncClient displayLoginDialogWithCompletionHandler:^(SugarSyncLoginStatus aStatus, NSError *error) {
//Shows a modal login view
see https://www.sugarsync.com/developer for information on how to use the API