On 2010 Mar 29, at 14:30, has wrote:
> The Apple Event Manager supports suspend and resume
Great tip, has. I searched and found
Cocoa Scripting Guide
How Cocoa Applications Handle Apple Events
Suspending and Resuming Apple Events and Script Commands
In there, it looks like -s
Jerry Krinock wrote:
> I do some lengthy, multi-step tasks in an app like this:
>
> * Wrap each of their dozen or so steps in an NSOperation.
> * Set dependencies so that they execute in sequence.
> * Add them to a suspended NSOperationQueue.
> * Un-suspend the queue.
>
> If an error occurs, all
I do some lengthy, multi-step tasks in an app like this:
* Wrap each of their dozen or so steps in an NSOperation.
* Set dependencies so that they execute in sequence.
* Add them to a suspended NSOperationQueue.
* Un-suspend the queue.
If an error occurs, all operations in the queue are cancelled