• 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: Loading image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading image


  • Subject: Re: Loading image
  • From: John Hörnkvist <email@hidden>
  • Date: Wed, 30 May 2001 16:15:25 +0200

On Wednesday, May 30, 2001, at 03:51 PM, Youngjin Kim wrote:

image = [[NSImage allocWithZone:[self zone]] initByReferencingFile:path];
image = [[NSImage alloc] initWithContentsOfFile:path];

Yes; when you archive them, one will save the contents of the image file, the other will save the path.

Regards,
John Hvrnkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com


References: 
 >Loading image (From: Youngjin Kim <email@hidden>)

  • Prev by Date: Loading image
  • Next by Date: Carbon Framework - DataBrowser Tweaks
  • Previous by thread: Loading image
  • Next by thread: Re: Loading image
  • Index(es):
    • Date
    • Thread