Sync — 2.5.0
Fetch
let fetched = try! Sync.fetch("id", inEntityNamed: "User", using: dataStack.mainContext)
Insert or update
try! Sync.insertOrUpdate(["id": "id", "name": "name"], inEntityNamed: "User", using: context)
Update
try! Sync.update("id", with: ["name": "Elvis"], inEntityNamed: "User", using: context)
Delete
try! Sync.delete("id", inEntityNamed: "User", using: context)