Re: [iPhone 3.1] NSInvocation on main thread?
Re: [iPhone 3.1] NSInvocation on main thread?
- Subject: Re: [iPhone 3.1] NSInvocation on main thread?
- From: Peter Blazejewicz <email@hidden>
- Date: Thu, 11 Feb 2010 09:21:51 +0100
Hi John,
NSInvocation can be invoked on main thread as any NSObject subclass
simply by performing selector on itself on main thread,
However I think you're looking for custom additions similar to that
one blogged here (Dave Dribin's blog):
http://www.dribin.org/dave/blog/archives/2008/05/22/invoke_on_main_thread/
hth,
regards,
Peter
On Thu, Feb 11, 2010 at 8:09 AM, John Michael Zorko <email@hidden> wrote:
>
> Hello, all ...
>
> I'm using NSInvocation so I can pass multiple arguments to delegate methods. However, I also want these delegate methods to get called on the main thread. Is there a way that I can use NSInvocation to call the method it wraps on the main thread, like performSelectorOnMainThread?
_______________________________________________
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