• 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: [NSString stringWithContentsOfURL:] not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >RE: [NSString stringWithContentsOfURL:] not working (From: Oliver Donald <email@hidden>)

  • Prev by Date: Re: @protected variable access
  • Next by Date: Re: controlTextDidChange, backspace possible?
  • Previous by thread: RE: [NSString stringWithContentsOfURL:] not working
  • Next by thread: 2 NSTextViews and binding
  • Index(es):
    • Date
    • Thread