NOTE: The library has been tested with Xcode 6.3
AeroGear iOS Differential Synchronization Client Engine represents a client side implementation for AeroGear Differential Synchronization (DS) Server.
This client uses the communication with the backend server implementation. The iOS SyncEngine performs the actual work of the DiffSync protocol, please refer to its README.md for more details.
|License:||Apache License, Version 2.0|
|Mailing lists:||aerogear-users (subscribe)|
Build, test and play with aerogear-ios-sync-client
Clone this project
Get the dependencies
The project uses cocoapods 0.36 release for handling its dependencies. As a pre-requisite, install cocoapods and then install the pod. On the root directory of the project run:
3. open AeroGearSyncClient.xcworkspace
Adding the library to your project
To add the library in your project, you can either use Cocoapods or manual install in your project. See the respective sections below for instructions:
Support for Swift frameworks is supported from CocoaPods-0.36 release upwards. In your
source 'https://github.com/CocoaPods/Specs.git' xcodeproj 'YourProjectName.xcodeproj' platform :ios, '8.0' use_frameworks! pod 'AeroGearSyncClient' pod 'AeroGearSync/JSONPatch'
NOTE: AeroGearSync is using podsubspec, you will need to specify which algorithm option you want to go. For more details, see aerogear-ios-cookbook/Jedi app. and then:
to install your dependencies.
Follow these steps to add the library in your Swift project:
- Add AeroGearSyncClient as a submodule in your project. Open a terminal and navigate to your project directory. Then enter:
bash git submodule add https://github.com/aerogear/aerogear-ios-sync-client.git
- Open the
aerogear-ios-sync-clientfolder, and drag the
AeroGearSyncClient.xcodeprojinto the file navigator in Xcode.
- In Xcode select your application target and under the
Targetsheading section, ensure that the ‘iOS Deployment Target’ matches the application target of AeroGearSyncClient.framework (Currently set to 8.0).
- Select the
Build Phasesheading section, expand the
Target Dependenciesgroup and add
- Click on the
+button at the top left of the panel and select
New Copy Files Phase. Rename this new phase to
Copy Frameworks, set the
Frameworks, and add
Repeat the same instructions for aerogear-ios-sync.
For more details about the current release, please consult our documentation.
If you would like to help develop AeroGear you can join our developer’s mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.
Also takes some time and skim the contributor guide
Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!
Found a bug?
If you found a bug please create a ticket for us on Jira with some steps to reproduce it.