Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
- Subject: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
- From: Dave Thorup <email@hidden>
- Date: Tue, 23 Mar 2004 12:25:58 -0500
On Mar 23, 2004, at 11:14 AM, Kevin Ballard wrote:
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.
Yes, this is what is causing the drawing glitch. I experienced this in
my own applications and ensuring that any GUI interaction only took
place in the main thread was the solution.
-performSelectorOnMainThread:withObject:waitUntilDone: is one way to
fix this, but that method was only introduced in 10.2. If you need
something that works for earlier versions of OS X then I would
recommend Nathan Day's NDRunLoopMessenger. You can find it here:
http://homepage.mac.com/nathan_day/pages/source.html#NDRunLoopMessenger
_____________________________
Dave Thorup
Software Engineer
email@hidden
http://www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults /
Preferences database.
_______________________________________________
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.