Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Helpers to create NSPersistentStoreCoordinator with non-default managed object model #576

mikegottlieb opened this Issue · 1 comment

2 participants


I have a project with 2 CoreData models and stores that I am trying to keep totally separate. These helper functions made it easier for my setup. I use these helpers to initialize the store, then create an NSManagedObjectContext from it and then use all of the inContext: variants of the rest of MagicalRecord with my context to make sure I am using the right store coordinator. Works pretty well.

If there is a better way to achieve this please let me know. Thanks! #570


We've added methods to the upcoming MagicalRecord 3.0 release that support providing an NSManagedObjectModel instance to a specific NSPersistentStoreCoordinator. Thanks for the feature suggestion!

@tonyarnold tonyarnold closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.