Re: Place for app version value in document wrapper
Re: Place for app version value in document wrapper
- Subject: Re: Place for app version value in document wrapper
- From: Scott Anguish <email@hidden>
- Date: Thu, 10 May 2007 02:10:58 -0400
mmalc will correct me if I'm wrong...
I believe what this refers to is storing a version number for the FILE
format. You'd only want this to change when you explicitly change the
file format. It's how you know what model to use to load the data.
So.. continuing..
Documents are pretty straight forward to include version information
in _if you control the format_. Otherwise, for things like jpeg,
text, etc.. it becomes a pain.
The only thing Apple really has to say on the topic is that if you
make a Spotlight importer, you can/should provide the version to the
importer of your custom file format (if you want your users to see it).
On May 9, 2007, at 8:51 PM, Dave Fernandes wrote:
For Core Data, at least, it is recommended that you put the version
in the meta data... sounds like your config plist.
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdVersioning.html
On May 9, 2007, at 8:17 PM, Sandeep Parikh wrote:
Since you control the contents of the document, it would be best
for you to
find a convention that scales over time and accounts for
compatibility with
future versions.
AFAIK, there is no Apple-sanctioned way to do it. Though if you
look at the
bundles created by Pages, you'll see that this information is
embedded in
the index.xml.gz (which essentially is the document itself). I
suspect
Keynote handles this in a similar manner...
-Sandeep
From: Jaime Magiera <email@hidden>
Date: Wed, 9 May 2007 17:51:58 -0400
To: Cocoa Developers <email@hidden>
Subject: Place for app version value in document wrapper
Hi folks,
I've scoured the docs, but can't seem to find an answer... Is
there a
Apple-sanctioned place to put the version of application that a
document was created/modified with in the document itself? My
documents have a config plist for per-document-based preferences.
App
version info could go there. However, if there is an "official" way,
that would will be followed.
thanks,
Jaime Magiera
Sensory Research Network
http://www.sensoryresearch.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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