FROM : Jerry Krinock
DATE : Fri Jun 30 17:28:31 2006
on 06/06/29 8:17, Finlay Dobbie at finlay.<email_removed> 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!
DATE : Fri Jun 30 17:28:31 2006
on 06/06/29 8:17, Finlay Dobbie at finlay.<email_removed> 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!
| Related mails | Author | Date |
|---|---|---|
| Scott Andrew | Jun 28, 20:55 | |
| Mark Stultz | Jun 28, 20:56 | |
| Alan Pearson | Jun 28, 21:01 | |
| Aurélien Hugelé | Jun 29, 16:32 | |
| Finlay Dobbie | Jun 29, 17:17 | |
| Dustin Voss | Jun 30, 02:58 | |
| Jerry Krinock | Jun 30, 17:28 | |
| Jerrod Fowkes | Jun 30, 19:20 | |
| Michael Ash | Jun 30, 20:46 | |
| Shaun Wexler | Jun 30, 21:59 |






Cocoa mail archive

