On Mon, Feb 2, 2009 at 10:49 AM, 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
On Mon, Feb 2, 2009 at 11:03 AM, Scott Ribe 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
>
> No, you have to run the long operati
> 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
No, you have to run the long operations on another thread. NSOperationQueue
is supposed to pro
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:
- (IBAction)launchBigTask:(id)sender
{
NSInvocationOperation* theOp = [[NSInvocationOp