Objective-C sucks
Posted August 25th, 2008 by Anonymous
Allocate memory, construct an object. Something *ptr = [Something alloc]; [ptr init];. A class. @interface Something : NSObject { // member vars int sumnum; } + (Something)StaticFunction // usually a constructor type… { // makes a clone ...




































Post new comment