---
title: "setInterfaceStyle:"
framework: AppKit
role: symbol
role_heading: Instance Method
platforms: [macOS 10.0+]
path: "appkit/nsresponder/setinterfacestyle:"
---

# setInterfaceStyle:

Sets the receiver’s style to the style specified by interfaceStyle, such as NSMacintoshInterfaceStyle or NSWindows95InterfaceStyle.

## Declaration

```occ
- (void) setInterfaceStyle:(NSInterfaceStyle) interfaceStyle;
```

## Parameters

- `interfaceStyle`: An enum constant identifying an interface style.

## Discussion

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

### Deprecated methods

- [performMnemonic:](appkit/nsresponder/performmnemonic:.md)
- [interfaceStyle](appkit/nsresponder/interfacestyle.md)
- [beginGesture(with:)](appkit/nsresponder/begingesture(with:).md)
- [endGesture(with:)](appkit/nsresponder/endgesture(with:).md)
