Re: Anything like -[performBlockOnMainThread:]?
Re: Anything like -[performBlockOnMainThread:]?
- Subject: Re: Anything like -[performBlockOnMainThread:]?
- From: Dave DeLong <email@hidden>
- Date: Mon, 15 Mar 2010 15:47:11 -0600
Yep, that's legal.
Dave
On Mar 15, 2010, at 3:45 PM, Rick Mann wrote:
> Oh! Sorry for the noise, but I think I can do this:
>
> [[NSOperationQueue mainQueue] addOperationWithBlock: ^{
> myProvidedBlock(param1, param2);
> }];
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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