On Mon, Feb 2, 2009 at 10:49 AM,  <jurin...@eecs.utk.edu> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to