purkylin / SyncEngine

Sync between iCloud and Realm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SyncEngine

Sync between iCloud and Realm

Feature

  • Sync betweens different device
  • Share
  • Offline
  • Resolve conflict
  • Multi table
  • CKAsset
  • Stable API
  • Documentation
  • Same device different iCloud account
  • Background long task

Requirement

  • iOS 10.0
  • swift 4.0
  • Xcode 9.0

Usage

  1. model
@objc(SimpleNote)
class SimpleNote: SyncBaseModel {
    @objc dynamic var title: String = ""
}
  1. AppDelegate
application.registerForRemoteNotifications()

syncEngine.register(models: [SimpleNote.self])
syncEngine.start()
  1. Sync
syncEngine.sync()

Carthage

github "purkylin/SyncEngine"

About

Sync between iCloud and Realm

License:MIT License


Languages

Language:Swift 99.0%Language:Objective-C 1.0%