Yep, thanks to both of you for that insight. Interesting there's not a 
single-block version of that call.

On Mar 15, 2010, at 14:58:39, Dave DeLong wrote:

> You could put your block into an NSBlockOperation, and then use the queue's 
> addOperations:waitUntilFinished: method to execute it.
> 
> Cheers,
> 
> Dave
> 
> On Mar 15, 2010, at 3:47 PM, Rick Mann wrote:
> 
>> Then again, what I was doing before was really:
>> 
>> [mTarget performSelectorOnMainThread: mSelector withObejct: data 
>> waitUntilDone: true];
>> 
>> which I don't see how to do with 1[addOperationWithBlock:];

_______________________________________________

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