Archive for November, 2009

Objective C Forward Invocation

The other day I was messing around with Objective C trying to learn about forward invocation. – (void)forwardInvocation:(NSInvocation *)anInvocation { if ( [myFriend respondsToSelector: [anInvocation selector]] ) { [anInvocation invokeWithTarget: myFriend]; } else { [super forwardInvocation:anInvocation]; } } But for whatever reason I would get a “doesnotrecognizeselector” error when I sent a message to my […]

Subscribe to RSS Feed Follow me on Twitter!