2.0.0
π JSQCoreDataKit
2.0 is here! π
Breaking changes
- Swift 2.0
- You must now initialize
CoreDataStack
via aCoreDataStackFactory
. This will init the stack on a background queue and return to your completion handler on the main queue when finished. This is necessary since adding a persistent store can take an unknown amount of time. - Rethinking and rewriting of
CoreDataStack
. It now has amainContext
and abackgroundContext
. π - Saving a context now returns a
CoreDataSaveResult
to the completion handler, instead ofNSError?
New
- New
CoreDataStackFactory
for async stack initialization, as mentioned above. It also support synchronous init if you need it, but this is only recommended for testing. Returns aCoreDataStackResult
. - All types now conform to
CustomStringConvertible
andEquatable
. π
Issues closed
Find the complete list of closed issues here. π
Documentation
All documentation has been updated. π
Example app
The example app is actually an example app now, check it out! It's a pretty substantial demo.