• 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: 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

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

  • Prev by Date: Re: deployment vs. development style weirdness
  • Next by Date: Re: deployment vs. development style weirdness
  • Previous by thread: Re: [NSString stringWithContentsOfURL:] not working
  • Next by thread: RE: [NSString stringWithContentsOfURL:] not working
  • Index(es):
    • Date
    • Thread