Re: How do you close a NSDrawer after a NSThread has finished
Re: How do you close a NSDrawer after a NSThread has finished
- Subject: Re: How do you close a NSDrawer after a NSThread has finished
- From: Martin van-Eerde <email@hidden>
- Date: Mon, 19 Feb 2007 20:12:56 +0000
Thanks Mike, that works great, I'm calling the same method that was
being called by the thread will finish notification, not sure why the
drawer does not close when called from the notification but the
perform does the trick.
Martin
Message: 3
Date: Sun, 18 Feb 2007 22:03:59 +0000
From: Mike Abdullah <email@hidden>
Subject: Re: How do you close a NSDrawer after a NSThread has finished
To: Martin van-Eerde <email@hidden>
Cc: Apple Cocoa-Dev Mailing List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
How about using -performSelectorOnMainThread: to inform the main
thread that your secondary thread has finished its copy and let the
main thread handle closing the drawer etc.?
Mike.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden