On 2010 Mar 29, at 12:06, Philip Mötteli wrote: > I never said, it's not possible. But it's a huge task to re-implement a > general method like this. If you understand, that you have to treat every > different argument type dynamically.
Maybe I don't understand, but a couple years ago I wrote this little method that creates an invocation in one line of code + (NSInvocation*)invocationWithTarget:(id)target selector:(SEL)selector retainArguments:(BOOL)retainArguments argumentAddresses:(void*)firstArgumentAddress, ... ; It handles all argument types, using varargs and the method signature of the selector. I'll post the code if you're interested. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com