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 12:49:14 -0500
Thanks. I just finished making it use
-performSelectorOnMainThread:withObject:waitUntilDone: to post the
notification in the main thread.
Thanks for pointing out that it was introduced in 10.2, as I forgot to
check. But I already require 10.2 for my app, so that's not a problem.
Oh, and that URL is broken. It doesn't really matter, though, since I
don't need 10.1 (or 10.0) support, but I thought you might like to
know.
On Mar 23, 2004, at 12:25 PM, Dave Thorup wrote:
>
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
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.