Re: [NSString stringWithContentsOfURL:] not working
Re: [NSString stringWithContentsOfURL:] not working
- Subject: Re: [NSString stringWithContentsOfURL:] not working
- From: "Sean McBride" <email@hidden>
- Date: Tue, 14 Sep 2004 14:41:39 -0400
Oliver Donald (email@hidden) on Tue, Sep 14, 2004 11:51 said:
>I was told offlist about the formatting error with the NSLog()'s, just in
>case anyone was wondering, no that wasn't in the actual code and isn't the
>bug ;) I dont have the actual code at work, so the code in my original post
>was hurriedly written from memory.
>
>Hence the code actuall is...
>
>- (BOOL)extract
>{
> NSURL *storyURL;
> NSString *story;
>
> storyUrl = [NSURL URLWithString:[urlField stringValue]];
>
> NSLog("URL = [%@]", storyUrl);
That's no good either. Should be:
NSLog(@"URL = [%@]", storyUrl);
>DISCLAIMER: The information contained in this e-mail is confidential and may
>be privileged. It is intended for the addressee only. If you are not the
>intended recipient, please delete this e-mail immediately. The contents of
>this email must not be disclosed or copied without the sender's consent.
I hope it's OK that I quoted part of your message. :)
_______________________________________________
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