Skip to content

Sync — 1.8.0

Compare
Choose a tag to compare
@3lvis 3lvis released this 17 May 20:39
· 642 commits to master since this release

Cancelling Sync operations

Since now Sync is a subclass of NSOperation the sky is the limit! 😱
Issues: #216 #93

let operation = Sync(changes: users, inEntityNamed: "User", predicate: nil, dataStack: dataStack)
operation.start()

Better simplified workflows

The handling of syncing relationships by providing only the id instead of the full JSON object has been improved.
Issues: #215 #218 #220

Checkout the simplified sections for more information.

https://github.com/hyperoslo/Sync#one-to-many-simplified

https://github.com/hyperoslo/Sync#one-to-one-simplified

By the way, even though is not documented yet, this also works with many-to-many without problems.