Design Element
Comment on "Forwarding NSInvocations in Objective-C"
by Erik — May 17
So, why do both methods (in the MiniObject class) need to exist? I can understand why forwardInvocation: needs to be implemented, because it's doing the work of forwarding the method invocation to the delegate, but I didn't quite understand the purpose of implementing methodSignatureForSelector:. Obviously I'm an ObjC noob so go easy.
Back to "Forwarding NSInvocations in Objective-C"
Design Element

Copyright © Scott Stevenson 2004-2015