Re: NSURL Tutorial?
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.