How do you set the size of NSView programmically e.g.
-(void)awakeFromNib { self.frame.size.width = 1280; // Does nothing... self.fra
To programmatically setup the app's size (that is what I wanted to do) you need to do this:-
- (void)awakeFromNib { ... NSWindow* w = [self window]; NSRect f; f.size.width = 1280; f.size.height = 800; [w setFrame:f display:YES]; }