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 <jmzorko...> 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?