• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data Migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Core Data Migration (From: Chaitanya Pandit <email@hidden>)

  • Prev by Date: Re: UIImage and shadows, WAS: Re: Please if some one knows
  • Next by Date: Re: UIImage and shadows, WAS: Re: Please if some one knows
  • Previous by thread: Re: Core Data Migration
  • Next by thread: CSWeekView classes available
  • Index(es):
    • Date
    • Thread