Skip to content

purkylin/SyncEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published