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

Loading image


  • Subject: Loading image
  • From: Youngjin Kim <email@hidden>
  • Date: Wed, 30 May 2001 22:51:41 +0900

Both expression work fine. Is there difference between two?

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


Youngjin


  • Follow-Ups:
    • Re: Loading image
      • From: Peter Ammon <email@hidden>
    • Re: Loading image
      • From: John Hörnkvist <email@hidden>
  • Prev by Date: Re: Weird doc-based behaviour?
  • Next by Date: Re: Loading image
  • Previous by thread: Stepping through frames of an NSMovie
  • Next by thread: Re: Loading image
  • Index(es):
    • Date
    • Thread