• 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: [Newbie]: Trouble with NSURLHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie]: Trouble with NSURLHandle


  • Subject: Re: [Newbie]: Trouble with NSURLHandle
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 3 Aug 2003 01:31:25 -0400

I think background downloading like this expects to have a runloop. at the very least, I'm not sure that getchar won't block things...

try this in a skeleton cocoa application...

also, if your deployment can deal with it, you may want to look at using NSURLRequest and NSURLConnection instead...



On Saturday, August 2, 2003, at 2:31 PM, Andreas Rasmussen wrote:


I'm trying to download a file via NSURLHandle - which works - and get
the NSURLHandleClient URLHandleResourceDidBeginLoading and
URLHandleResourceDidFinishLoading to be called when appropriate.
Unfortunately I can only get the first to work, and it is beginning to
bug me a little.
_______________________________________________
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: 
 >[Newbie]: Trouble with NSURLHandle (From: Andreas Rasmussen <email@hidden>)

  • Prev by Date: Re: fade-out/fade-in
  • Next by Date: Re: Custom File Icons?
  • Previous by thread: [Newbie]: Trouble with NSURLHandle
  • Next by thread: NSEvent window question
  • Index(es):
    • Date
    • Thread