Re: [NSString stringWithContentsOfURL:] not working
Re: [NSString stringWithContentsOfURL:] not working
- Subject: Re: [NSString stringWithContentsOfURL:] not working
- From: Jonathan Jackel <email@hidden>
- Date: Thu, 16 Sep 2004 11:47:58 -0400
On Sep 14, 2004, at 5:49 AM, Oliver Donald wrote:
storyUrl = [NSURL URLWithString:[urlField stringValue]];
NSLog("URL = [%@]");
Presumably you mean:
NSLog(@"URL = [%@]", storyUrl);
You need an @ before the quotes, and you need to specify which object to insert at the %@.
Jonathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden