• 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: Where should I put data versioning code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where should I put data versioning code?


  • Subject: Re: Where should I put data versioning code?
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 1 Aug 2007 08:33:41 -0700


On Aug 1, 2007, at 8:23 AM, Daniel Wambold wrote:

I am working on an NSPersistentDocument-based app and, on the advice received here, have worked out the code to keep data version information stored in the metadata of my data file. I figured that the best place to put version checking and updating code would start with the MyDocument object, but I can't seem to convince this object to send a message to other objects from the - (BOOL)readFromURL: (NSURL *)url ofType:(NSString *)fileType error:(NSError **)outError method.

Why aren;t you using - (BOOL)configurePersistentStoreCoordinatorForURL: (NSURL *)url ofType:(NSString *)fileType error:(NSError **)error?

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


  • Follow-Ups:
    • Re: Where should I put data versioning code?
      • From: Fritz Anderson <email@hidden>
References: 
 >Where should I put data versioning code? (From: Daniel Wambold <email@hidden>)

  • Prev by Date: Where should I put data versioning code?
  • Next by Date: Re: nsbitmapimagerep from nsview subclass, obtaining and drawing
  • Previous by thread: Where should I put data versioning code?
  • Next by thread: Re: Where should I put data versioning code?
  • Index(es):
    • Date
    • Thread