Design Element
Comment on "Dynamic Objective-C with NSInvocation"
by jonnie savell — Aug 07
Thank you.

I was playing around with NSInvocation to get around the argument number limitation in the performSelectorXXX methods.

I failed to pass in the addresses of the arguments and got the folowing announcement: *** Uncaught exception: <NSInvalidArgumentException> *** +[NSCFString length]: selector not recognized

I spent a lot of time trying to figure out the error but failed.

Finally, I ran to Google and found this page.

Again, thank you.
Back to "Dynamic Objective-C with NSInvocation"
Design Element

Copyright © Scott Stevenson 2004-2015