Latest 1.0.0-alpha.3
Homepage https://github.com/aerogear/aerogear-ios-sync
License Apache License, Version 2.0
Platforms ios 8, requires ARC
Dependencies DiffMatchPatch

aerogear ios sync Build Status Pod Version

This module currently build with Xcode 7 (Swift 2.0) and supports iOS8, iOS9.

AeroGear iOS Differential Synchronization Client Engine represents a client side implementation for AeroGear Differential
Synchronization (DS) Server
.

Project Info
License: Apache License, Version 2.0
Build: CocoaPods
Documentation: http://aerogear.org/ios/
Issue tracker: https://issues.jboss.org/browse/AGIOS
Mailing lists: aerogear-users (subscribe)
aerogear-dev (subscribe)

Build, test and play with aerogear-ios-sync

  1. Clone this project

  2. Get the dependencies

The project uses cocoapods for handling its dependencies. As a pre-requisite, install cocoapods and then install the pod. On the root directory of the project run:

pod install
  1. open AeroGearSync.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:

Using CocoaPods

Support for Swift frameworks is supported from CocoaPods upwards. In your Podfile add:

source 'https://github.com/CocoaPods/Specs.git'

xcodeproj 'YourProjectName.xcodeproj'
platform :ios, '8.0'
use_frameworks!

pod 'AeroGearSync'

and then:

pod install

to install your dependencies.

Manual Installation

Follow these steps to add the library in your Swift project:

  1. Add AeroGearSync as a submodule in your project. Open a terminal and navigate to your project directory. Then enter:
    git submodule add https://github.com/aerogear/aerogear-ios-sync.git
  2. Open the aerogear-ios-sync folder, and drag the AeroGearSync.xcodeproj into the file navigator in Xcode.
  3. In Xcode select your application target and under the "Targets" heading section, ensure that the ‘iOS Deployment Target’ matches the application target of AeroGearSync.framework (Currently set to 8.0).
  4. Select the "Build Phases" heading section, expand the "Target Dependencies" group and add AeroGearSync.framework.
  5. 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 "Destination" to "Frameworks", and add AeroGearSync.framework.

Documentation

For more details about the current release, please consult our documentation.

Development

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

Questions?

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.

Latest podspec

{
    "name": "AeroGearSyncDiffMatchPatch",
    "version": "1.0.0-alpha.3",
    "summary": "An iOS Sync Engine for AeroGear Differential Synchronization",
    "description": "AeroGearSync is the synchronisation engine based on Google Diff Match Patch algorithm. nTo use the sync engine, you work with its sync client. nAeroGearSyncJsonPatch implements the protocol using Json Patch protocol rfc6902 and the Json merge rfc7386.nAeroGearSyncDiffMatchPatch implement the Google Diff Match Patch algorithm not based on Json format. You can work using plain string and no structured model (plain text will fit).",
    "homepage": "https://github.com/aerogear/aerogear-ios-sync",
    "license": "Apache License, Version 2.0",
    "authors": "Red Hat, Inc.",
    "source": {
        "git": "https://github.com/aerogear/aerogear-ios-sync.git",
        "tag": "1.0.0-alpha.3"
    },
    "platforms": {
        "ios": 8
    },
    "source_files": [
        "AeroGearSync/*.{swift}",
        "AeroGearSync-DiffMatchPatch/*.{swift}"
    ],
    "requires_arc": true,
    "dependencies": {
        "DiffMatchPatch": [
            "0.1.2"
        ]
    }
}

Pin It on Pinterest

Share This