setInterfaceStyle:
Sets the receiver’s style to the style specified by interfaceStyle, such as NSMacintoshInterfaceStyle or NSWindows95InterfaceStyle.
Declaration
- (void) setInterfaceStyle:(NSInterfaceStyle) interfaceStyle;Parameters
- interfaceStyle:
An
enumconstant identifying an interface style.
Discussion
setInterfaceStyle: is an abstract method in NSResponder, but is overridden in classes such as NSWindow and NSView to actually set the interface style. You should almost never need to invoke or override this method, but if you do override it, your version should always invoke the implementation in super.