Creates or loads the document’s persistent store.
- iOS 5.0+
The URL for the persistent store.
The document’s file type.
The managed object model configuration to use.
The options used to configure the persistent store coordinator.
Upon return, if a problem occurs, contains an error object that describes the problem.
true if configuration is successful, otherwise
You can override this method if you want customize the creation or loading of the document’s persistent store. For example, you can perform post-migration clean-up—if your application needs to migrate store data to use a new version of the managed object model, you can override this method to make additional modifications to the store after migration.