Re: GUI threading question
Re: GUI threading question
- Subject: Re: GUI threading question
- From: Kyle Sluder <email@hidden>
- Date: Mon, 2 Feb 2009 11:41:24 -0500
On Mon, Feb 2, 2009 at 10:49 AM, <email@hidden> wrote:
> It has long been my understanding that in order to keep a GUI from
> freezing in Cocoa during LONG methods you have to create a
> NSOperationQueue and load the method as a NSInvocationOperation as seen
> here:
You don't have to use NSOperationQueue. You can use a background
thread, or you might be able to attach an input source to the runloop
and do a portion of work each time through, signaling on the input
source when the work is done.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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