<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFontDescriptor/FeatureKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSFontDescriptorFeatureKey"
  },
  "title" : "NSFontDescriptor.FeatureKey"
}
-->

# NSFontDescriptor.FeatureKey

Constants to use as keys to retrieve information about a font descriptor from its feature dictionary.

```
struct FeatureKey
```

## Discussion

These keys are used with [`featureSettings`](/documentation/AppKit/NSFontDescriptor/AttributeName/featureSettings).

## Topics

### Feature Keys

[`typeIdentifier`](/documentation/AppKit/NSFontDescriptor/FeatureKey/typeIdentifier)

A key that indicates the type of the font feature.

[`selectorIdentifier`](/documentation/AppKit/NSFontDescriptor/FeatureKey/selectorIdentifier)

A key that indicates the selector of the font feature.

### Initializers

[`init(_:)`](/documentation/AppKit/NSFontDescriptor/FeatureKey/init(_:))

[`init(rawValue:)`](/documentation/AppKit/NSFontDescriptor/FeatureKey/init(rawValue:))



---

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)