NSURLConnection in NSEventTrackingRunLoopMode
NSURLConnection in NSEventTrackingRunLoopMode
- Subject: NSURLConnection in NSEventTrackingRunLoopMode
- From: "Erik Sjödin" <email@hidden>
- Date: Sat, 1 Apr 2006 01:53:58 +0200
I'd like to download data continuosly while I'm resizing a NSView,
however if I initiate a NSURLConnection in the NSView while it is
inLiveResize the connection does does not start to d/l anything until
the view goes back from NSEventTrackingRunLoopMode to
NSDefaultRunLoopMode. I've tried spinning of a new thread and then
initiating the NSURLConnection but the thread seems to be running in
the same mode as the view so it doesn't make a diffrence.
According to the docs "for the connection to work correctly the
calling thread's run loop must be operating in the default run loop
mode"...
Any ideas?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden