Latest 2.0.4
License MIT
Platforms ios 7.0, requires ARC
Dependencies KeychainItemWrapper
Authors ,

SugarSyncSDK (v2.0.0)

Objective C framework for the Sugar Sync API on iOS


For a description of the SugarSync REST API.

This is a fork from the original library ( with a few additions:

  • CocoaPods support
  • Better XML writer (escapes characters)
  • Few API additions (logout, sharedInstance can be used even before initialization)


  • Implement XML body for calls needing attributes inside nodes (copyFile and updateFile). These calls are not functional for now.

Installation into a Cocoa project (iOS)

CocoaPods (highly recommended)

Use the SugarSyncSDK pod from CocoaPods.

Manual installation

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.

Using the library

#import <SugarSyncSDK/SugarSyncClient.h>

SugarSyncClient *sugarSyncClient = [SugarSyncClient createWithApplicationId:anAppId

if ( !sugarSyncClient.isLoggedIn )
        [sugarSyncClient displayLoginDialogWithCompletionHandler:^(SugarSyncLoginStatus aStatus, NSError *error) {

        //Shows a modal login view

see for information on how to use the API

Latest podspec

    "name": "SugarSyncSDK",
    "version": "2.0.4",
    "summary": "Objective C framework for the Sugar Sync API on iOS.",
    "homepage": "",
    "license": "MIT",
    "authors": [
        "Patrick Nollet",
        "Bill Culp"
    "source": {
        "git": "",
        "tag": "v2.0.4"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "libraries": "xml2",
    "xcconfig": {
        "HEADER_SEARCH_PATHS": "$(SDKROOT)/usr/include/libxml2"
    "source_files": "SugarSyncSDK/SugarSyncSDK/**/*{.h,.m}",
    "public_header_files": "SugarSyncSDK/SugarSyncSDK/Public Headers/*.h",
    "resource_bundles": {
        "SugarSyncSDK": [
    "dependencies": {
        "KeychainItemWrapper": [
            "~> 1.2"

Pin It on Pinterest

Share This