• 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: Scheme for efficiently archiving images.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Scheme for efficiently archiving images.
      • From: Graham Cox <email@hidden>
References: 
 >Scheme for efficiently archiving images. (From: Graham Cox <email@hidden>)

  • Prev by Date: Scheme for efficiently archiving images.
  • Next by Date: Sort Through Commas in Cocoa
  • Previous by thread: Scheme for efficiently archiving images.
  • Next by thread: Re: Scheme for efficiently archiving images.
  • Index(es):
    • Date
    • Thread