magicalpanda/MagicalRecord — pull request #570 by mikeplaced (2013-09-13 00:11:37+00:00)
Title: Create NSPersistentStoreCoordinator factory method that can accept a model as an argument

I have a project with 2 CoreData models and stores that I am trying to keep totally separate. This helper function made it easier for my setup. I use this helper 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!