Technically, the Window is a View subclass, but only because of it x, y, width and height properties (in fact, I should probably change that). The layout methods don’t make sense for the window because it doesn’t have a superview. It represents, of course, Cocoa’s NSWindow.
Parameters: |
|
---|
Numeric. x and y coordinates in proportion of the main screen frame. This value has to be between 0.0 and 1.0.
String. The text on the window. Equivalent to [self title].
Boolean. Adjusts the window’s style flags according to boolean values you set in those 3 attributes. The behave the same way as the Close, Resize and Minimize checkboxes in Interface Builder.
String. Equivalent to [self frameAutosaveName].