diff --git a/MagicalRecord/Categories/NSPersistentStoreCoordinator+MagicalRecord.m b/MagicalRecord/Categories/NSPersistentStoreCoordinator+MagicalRecord.m index 48e2207..66b8da7 100644 --- a/MagicalRecord/Categories/NSPersistentStoreCoordinator+MagicalRecord.m +++ b/MagicalRecord/Categories/NSPersistentStoreCoordinator+MagicalRecord.m @@ -93,8 +93,7 @@ NSString * const kMagicalRecordPSCDidCompleteiCloudSetupNotification = @"kMagica error = nil; } } - - + [MagicalRecord handleErrors:error]; } return store; diff --git a/README.md b/README.md index 29cb93a..d3eb787 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,9 @@ Next, somewhere in your app delegate, in either the applicationDidFinishLaunchin Each call instantiates one of each piece of the Core Data stack, and provides getter and setter methods for these instances. These well known instances to MagicalRecord, and are recognized as "defaults". -And, before your app exits, you can use the clean up method: +When using the default sqlite data store, if you change your model without creating a new model version, Magical Record will delete the old store and create a new one automatically. No more uninstall/reinstall every time you make a change! + +And finally, before your app exits, you can use the clean up method: [MagicalRecord cleanUp];