Re: executeSelector: withRunLoop:
Re: executeSelector: withRunLoop:
- Subject: Re: executeSelector: withRunLoop:
- From: Nathan Day <email@hidden>
- Date: Tue, 25 Jun 2002 16:07:38 +0930
I've got source code for an class to do exactly that on my iTools web
site, you're free to look at it or use it as you wish.
http://homepage.mac.com/nathan_day/
On Tuesday, June 25, 2002, at 03:53 AM, Kevin Elliott wrote:
Greetings.
I've been working on our app for awhile and I've run into a bit of a
snag.
My app spins off a worker thread that the main thread then monitors to
display progress, etc. The problem I've got is that when the thread
completes it's work I need to execute some quasi-cleanup code and that
code
_MUST_ execute on the main thread/runloop. I'm using a generic progress
class I wrote so I don't really want to clutter up the progress class
with
this. What I really want is some magic method that will let me execute
an
arbitrary selector in a different runloop but I've had no success in
figuring out how to do that. I'm rather new to Cocoa which doesn't
help any
either. Any suggestions?
_______________________________________________
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.