On Wednesday, April 18, 2012 at 11:44 PM, Josh Voigts wrote:
Hey, first post to the list, woot!I've run into a little bit of a snag. Is there an elegant way ofbuilding an initializer similar to this one in macruby? (assuming I'msubclassing an NSView object)- (id)initWithFrame:(NSRect)frame controller:(AppController *)ctrlr{if (self = [super initWithFrame:frame]) {controller = ctrlr; // deliberately weak reference.}return self;}_______________________________________________MacRuby-devel mailing list