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

Re: Check URL Status


  • Subject: Re: Check URL Status
  • From: "Mr. Gecko" <email@hidden>
  • Date: Thu, 29 Jan 2009 12:12:50 -0600

ok I got it together and it's working just fine

On Jan 28, 2009, at 7:13 PM, Mike Abdullah wrote:


On 29 Jan 2009, at 00:30, Mr. Gecko wrote:

but wouldn't that return the data of the file it self as well? Because I don't want the data because it's like 130MB and it'll take a long time to get the data just for a check...

Which is precisely why the URL loading system is asynchronous by design. You should set up the connection, wait until the NSURLResponse is received and then cancel the connection before it can download the full video file.


Mike.

_______________________________________________

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


References: 
 >Check URL Status (From: "Mr. Gecko" <email@hidden>)
 >Re: Check URL Status (From: Mike Abdullah <email@hidden>)
 >Re: Check URL Status (From: "Mr. Gecko" <email@hidden>)
 >Re: Check URL Status (From: Andrew Farmer <email@hidden>)
 >Re: Check URL Status (From: "Mr. Gecko" <email@hidden>)
 >Re: Check URL Status (From: Mike Abdullah <email@hidden>)

  • Prev by Date: How to debug a loadNib error in a Release version?
  • Next by Date: Interface Builder Plugin Dependency
  • Previous by thread: Re: Check URL Status
  • Next by thread: Memory allocation issues with NSObject and NSString
  • Index(es):
    • Date
    • Thread