How to edit a NSManagedObjectModel that was loaded from a momd in iOS5
For my iOS application using CoreData, I need to have a model where certain entities properties vary between the iPhone and iPad version of the app. To achieve this, I load a NSManagedObjectModel from a momd file located in my application bundle, using initWithContentsOfURL: . But, before the model is actually used by the storeCoordinator, I modify some entities programmatically in the model (based on information I store in a device specific plist). This used to work flawlessly on iOS4. As Apple states in its documentation, Managed object models are editable until they are used by an object