• 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: URLWithString fails to fails with bad string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLWithString fails to fails with bad string


  • Subject: Re: URLWithString fails to fails with bad string
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 25 Nov 2009 09:05:44 -0800

On Nov 25, 2009, at 8:59 AM, email@hidden wrote:

> Thanks for the reply. I'm looking through the Cocoa API now. I think I might be able to use NSNetService's -resolveWithTimeout along with NSURL's -scheme to validate a string. Seems like more work than should be necessary, but oh well.

Wait, what? That NSNetService method is for getting the IP address of a Bonjour service. That doesn't sound like what you're doing. It has nothing to do with validating the syntax of a URL.

Maybe you could describe what it is that you're trying to do with these URLs?

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Re: URLWithString fails to fails with bad string
      • From: email@hidden
References: 
 >Re: Re: URLWithString fails to fails with bad string (From: email@hidden)

  • Prev by Date: Re: Drawing: The Right place to keep bounds
  • Next by Date: NSConnection retaining delegate?
  • Previous by thread: Re: Re: URLWithString fails to fails with bad string
  • Next by thread: Re: Re: URLWithString fails to fails with bad string
  • Index(es):
    • Date
    • Thread