Returning Retained Properties in Objective-C
In Objective-C, retained object properties are quite common: @class MyOtherObject; @interface MyObject : NSObject { MyOtherObj* mOtherObj; } @property (nonatomic, retain) MyOtherObject* otherObj; – (void) doSomeRandomThings; @end @implementation MyObject @synthesize otherObj = mOtherObj; // … @end Well, that’s all well… Continue Reading