Theocacao
Leopard
Design Element
Comment on "Dynamic Objective-C with NSInvocation"
by Mark Donohoe — Aug 13
Almost right! What you're doing when you set the arguments is passing the address of the POINTERS of the objects, not the objects themselves because remember, in Objective-C, what we usually call objects are technically pointers. So in essence, you're passing a pointer to a pointer (a.k.a. an objective-c class).
Back to "Dynamic Objective-C with NSInvocation"
Design Element

Copyright © Scott Stevenson 2004-2015