<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.8.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSResponder/setInterfaceStyle:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSResponder(im)setInterfaceStyle:"
  },
  "title" : "setInterfaceStyle:"
}
-->

# setInterfaceStyle:

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

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

## Parameters

`interfaceStyle`

An `enum` constant identifying an interface style.

## Discussion

[`setInterfaceStyle:`](/documentation/AppKit/NSResponder/setInterfaceStyle:) is an abstract method in `NSResponder`, but is overridden in classes such as [`NSWindow`](/documentation/AppKit/NSWindow) and [`NSView`](/documentation/AppKit/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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)