Archive for August, 2010

Method forwarding in Objective-C

Friday, August 13th, 2010

I scraped together the following from a number of sources and got it to work fine and without compiler warnings. Interesting links are, among others: http://cocoawithlove.com/2008/03/construct-nsinvocation-for-any-message.html http://macdevelopertips.com/objective-c/objective-c-categories.html But, I get ahead of myself. The idea here is to have one object forward method invocations to another. Typically, you have a class responding to method A, […]