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: Jerry Krinock <email@hidden>
- Date: Fri, 30 Jun 2006 08:28:31 -0700
- Thread-topic: Is there another way to do performSelectorOnMainThread?
on 06/06/29 8:17, Finlay Dobbie at email@hidden wrote:
> NSInvocation is probably even more heavyweight, tbh.
And a real pain! After using NSInvocation a few times, I realized "Why am I
putting myself through this torture?"
So, I don't use it NSInvocation or its side-kick NSMethodSignature anymore.
If I need to invoke a method with non-object arguments, I either rewrite the
method so it has object wrappers around its arguments, or else wrap it in
another method that takes only object arguments, then use a
performSelector:.
My rate of hair loss has decreased, without drugs!
_______________________________________________
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