Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
- Subject: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
- From: Kevin Ballard <email@hidden>
- Date: Tue, 23 Mar 2004 11:14:47 -0500
All I'm trying to do is display a window when the notification is
posted. I guess displaying the window from the thread is causing that
drawing glitch. I suppose I'll have to use
-performSelectorOnMainThread:withObject:waitUntilDone: to post the
notification in the main thread.
Thanks,
Kevin
On Mar 23, 2004, at 11:01 AM, Alastair Houghton wrote:
AFAIK notifications are processed in the thread that posted them, so
they aren't suitable for inter-thread communication. That's probably
your problem.
You probably want
-performSelectorOnMainThread:withObject:waitUntilDone:, although you
can use Distributed Objects or other techniques e.g. if you need to
run on OS X versions earlier than Jaguar.
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
_______________________________________________
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.