On Jan 14, 2010, at 12:07 PM, Nick Zitzmann wrote:
> Sorry, forgot that block operations, unlike invocation operations, don't take
> arguments. (Guess which one I use more often?) Yes, I'd try what you're
> proposing.
It was a good though, but doing something like this...
NSBlockOperation *b = [NSBlockOperation blockOperationWithBlock:^{
/* do stuff */
if ([b isCancelled]) {
/* clean up and rejoin */
}
}];
[queue addOperation:b];
...fails horribly. The debugger looks strange, I can't make sense of
it._______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]