Closed colasbd closed 9 years ago
I had an issue because I subclass
configurePersistentStoreCoordinatorForURL: ofType: modelConfiguration:storeOptions:error:
and so, I receive the wrong value for the parameter.
The solution I gave you works and allow the overridden method to get the write type "SQL" instead of my document type.
Hi, this is deliberate. I'm matching the same behaviour as UIManagedDocument
and NSPersistentDocument
as far as I'm aware.
The type passed into that method is the document's file type, not the persistent store. If you're overriding configurePersistentStore…
, you can still call through to persistentStoreTypeForFileType:
there if needed.
Hi !
Thanks ! My mistake, I implicitly supposed that persistentStoreTypeForFileType:
was a private method.
Hi Mike !
I think I found a error in your code. I am happy to help you improve your project. Please confirm if you agree. If you don't mind updating the pod, it would be great also !
Your code
It should be
Thanks for all