How do you set the size of NSView programmically e.g.
-(void)awakeFromNib {
self.frame.size.width = 1280; // Does nothing...
self.frame.size.height = 800; // ...neither does this.
...
The size setup in the nib (of Mac OSX) works OK, but I want to do it in code.