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 <jmzo...@mac.com> 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 (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