<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAppearance/init(named:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSAppearance(cm)appearanceNamed:"
  },
  "title" : "init(named:)"
}
-->

# init(named:)

Creates an appearance object based on the name of one of the standard system appearances.

```
init?(named name: NSAppearance.Name)
```

## Parameters

`name`

The name of a standard appearance. See [`NSAppearance.Name`](/documentation/AppKit/NSAppearance/Name-swift.struct) for the list of standard appearance names.

## Return Value

A standard [`NSAppearance`](/documentation/AppKit/NSAppearance) object.

## Discussion

When you specify a standard appearance name—such as [`aqua`](/documentation/AppKit/NSAppearance/Name-swift.struct/aqua)—this method returns a built-in appearance.

---

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)