Re: Core Data Migration
Re: Core Data Migration
- Subject: Re: Core Data Migration
- From: mmalc Crawford <email@hidden>
- Date: Mon, 21 Dec 2009 18:45:02 -0800
On Dec 20, 2009, at 11:40 pm, Chaitanya Pandit wrote:
> One weird thing that is happening is that just after the "configurePersistentStoreCoordinatorForURL..." call, the contents of my document on the disk are changed, even if i didn't save the document
>
It's not clear in what sense this is "weird"? This is expected behaviour...
On Dec 21, 2009, at 5:56 pm, Jerry Krinock wrote:
> But something else should happen, which is that, if the filename is, for example, SomeDoc.myapp, the original file will be copied to SomeDoc~.myapp. Note the tilde.
> I've never seen this documented anywhere, though.
>
"If the migration proceeds successfully, the existing store at storeURL is renamed with a “~” suffix before any file extension and the migrated store saved to storeURL."
<http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreDataVersioning/Articles/vmInitiating.html#//apple_ref/doc/uid/TP40005509>
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden