Re: Loading image
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