• 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: NSURL Tutorial?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL Tutorial?


  • Subject: Re: NSURL Tutorial?
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 28 Oct 2001 17:44:00 -0500

On Sunday, October 28, 2001, at 03:02 PM, Jeff LaMarche wrote:
// I can't explain why, but
//
// [[NSImage alloc] initWithContentsOfURL: imageURL] doesn't
//
// work, but this does...

imageData = [NSData dataWithContentsOfURL:imageURL];


The commented code doesn't work because most AppKit places that take URLs only deal with file:// urls.


References: 
 >Re: NSURL Tutorial? (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: Rapid development with Project Builder...how?
  • Next by Date: Right way to get system preference values
  • Previous by thread: Re: NSURL Tutorial?
  • Next by thread: Re: NSURL Tutorial? (oops, answer part 2)
  • Index(es):
    • Date
    • Thread