• 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: dataWithContentsOfURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dataWithContentsOfURL


  • Subject: Re: dataWithContentsOfURL
  • From: j o a r <email@hidden>
  • Date: Thu, 27 Mar 2003 23:16:02 +0100

Use NSUrlHandle (or CURLHandle) to download the date to have greater control of the whole process.

j o a r

On Thursday, Mar 27, 2003, at 20:45 Europe/Stockholm, David Blanton wrote:

NSData *theData = [NSData dataWithContentsOfURL:aURL];


If aURL specifies a known server but the document requested does not exist
then theData is NULL.

How would one get the HTTP return of say 404, not found?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >dataWithContentsOfURL (From: David Blanton <email@hidden>)

  • Prev by Date: Scrolling a NSScrollView by code
  • Next by Date: Is there a ready chart plotting view?
  • Previous by thread: dataWithContentsOfURL
  • Next by thread: NSMovieView and NSTabView
  • Index(es):
    • Date
    • Thread