Re: Where should I put data versioning code?
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