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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to