I have always just created a proxy method on self that I call using
performSelectorOnMainThead. I pass the proxy method a dictionary of
the objects for the real call I want to make on the main thread. It
extracts the items from the dictionary and invokes the selector.
I'll bet you could also achieve this with NSInvocation, though that
seems a bit heavy-weight.
I want to user performSelectorOnMainThread however i want to pass
in more than one object (2 actually) but
performSelectorOnMainThread only supports one. Is there a way to
this besides using an arrray as my object?
Scott Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden