Re: Scheme for efficiently archiving images.
Re: Scheme for efficiently archiving images.
- Subject: Re: Scheme for efficiently archiving images.
- From: "Ken Ferry" <email@hidden>
- Date: Wed, 26 Nov 2008 17:49:33 -0800
I don't have time to go much into this before I go off for the
holiday, but one thing:
On Wed, Nov 26, 2008 at 5:26 PM, Graham Cox <email@hidden> wrote:
> For images from a file, I am thinking I can copy the
> original file into my package and simply archive a relative path to it.
If you create an image with -initByReferencingURL:, the URL is all it
will archive. The 'reference' here means that the app is permitted to
assume image remains accessible at the URL. If you use
initWithContentsOfURL:, the app is contractually obligated to read the
data in immediately and no longer go back to the URL.
-Ken
_______________________________________________
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