Re: Is there another way to do performSelectorOnMainThread?
Re: Is there another way to do performSelectorOnMainThread?
- Subject: Re: Is there another way to do performSelectorOnMainThread?
- From: Alan Pearson <email@hidden>
- Date: Wed, 28 Jun 2006 12:01:53 -0700
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.
Alan Pearson - email@hidden
http://www.sonzea.com/
On Jun 28, 2006, at 11:55 AM, Scott Andrew wrote:
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