Re: Dependent NSOperations (and best practices)
Re: Dependent NSOperations (and best practices)
- Subject: Re: Dependent NSOperations (and best practices)
- From: "I. Savant" <email@hidden>
- Date: Mon, 4 Aug 2008 11:45:09 -0400
> I have a situation in which I am using two subclasses of NSOperation: one is
> to execute an algorithm (in this case, to simulate the rolling of dice),
> while the other is to log the result of that action. (I'm using an
> operation for the logging since the logging can take some time due to its
> need to process the results of the first operation.)
You haven't mentioned whether you're making use of dependencies:
http://developer.apple.com/documentation/Cocoa/Reference/NSOperation_class/Reference/Reference.html#//apple_ref/doc/uid/TP40004591-RH2-SW14
(see "Operation Dependencies")
... I think the answer to that will determine much of (if not all)
the rest. :-)
--
I.S.
_______________________________________________
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