Skip to content

2.0.0

Compare
Choose a tag to compare
@jessesquires jessesquires released this 17 Oct 06:10

πŸŽ‰ JSQCoreDataKit 2.0 is here! πŸŽ‰

img

Breaking changes

  • Swift 2.0
  • You must now initialize CoreDataStack via a CoreDataStackFactory. 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 a mainContext and a backgroundContext. 😎
  • Saving a context now returns a CoreDataSaveResult to the completion handler, instead of NSError?

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 a CoreDataStackResult.
  • All types now conform to CustomStringConvertible and Equatable. πŸ‘Š

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.