Instance Method

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 enum constant 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.

See Also

Setting the Interface Style

- interfaceStyle

Returns the receiver’s interface style.

Deprecated
NSInterfaceStyleDefault

For more information, see the function NSInterfaceStyleForKey.

Deprecated