• 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: Mike Abdullah <email@hidden>
  • Date: Thu, 29 Jan 2009 01:13:52 +0000


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


  • Follow-Ups:
    • Re: Check URL Status
      • From: "Mr. Gecko" <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>)

  • Prev by Date: Re: Custom Class Bindings
  • Next by Date: Sub-pixel font smoothing with CGBitmapContext
  • Previous by thread: Re: Check URL Status
  • Next by thread: Re: Check URL Status
  • Index(es):
    • Date
    • Thread