This project is a demo for the proof of concept work around AeroGear Differential Synchronization.
This demo uses the iOS SyncClient which handles the communication with the sync server. The iOS SyncEngine performs the actual work of the DiffSync protocol for the SyncClient, please refer to it's README.md for more details.
This project requires Xcode 6.0 to run.
This project uses CocoaPods to managed its dependencies. The following command must be run prior to building:
sudo gem install cocoapods --pre
pod install
This project is also a Cocoapod and can be pushed to the Cocoapods specs repository. Currently we are using a private/local Cocoapods repo before publishing the real ones. This is only for testing. Please follow the instructions here to set up a local repo.
This project requires that the AeroGear Differential Synchronization Server be running. Please refer to that project for instructions for starting the server.
Building can be done by opening the project in Xcode:
open AeroGearSyncDemo.xcworkspace
or you can use the command line:
xcodebuild -project AeroGearSyncDemo.xcworkspace -scheme AeroGearSyncDemo -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
The demo app can run from with in Xcode using Product->Run menu option (CMD+R).