<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFontDescriptor/FeatureKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UIFontDescriptorFeatureKey"
  },
  "title" : "UIFontDescriptor.FeatureKey"
}
-->

# UIFontDescriptor.FeatureKey

Keys for retrieving feature settings.

```
struct FeatureKey
```

## Overview

Use these keys when retrieving information from one of the dictionaries associated with the [`featureSettings`](/documentation/UIKit/UIFontDescriptor/AttributeName/featureSettings) key.

## Topics

### Keys

[`type`](/documentation/UIKit/UIFontDescriptor/FeatureKey/type)

A key for identifying the font feature type.

[`selector`](/documentation/UIKit/UIFontDescriptor/FeatureKey/selector)

A key for identifying the font feature selector.

### Initializers

[`init(_:)`](/documentation/UIKit/UIFontDescriptor/FeatureKey/init(_:))

Creates a font feature key.

[`init(rawValue:)`](/documentation/UIKit/UIFontDescriptor/FeatureKey/init(rawValue:))

Creates a font feature key with the specified raw value.

### Deprecated

[`UIFontFeatureTypeIdentifierKey`](/documentation/UIKit/UIFontDescriptor/FeatureKey/featureIdentifier)

A key for identifying a font feature type.

[`UIFontFeatureSelectorIdentifierKey`](/documentation/UIKit/UIFontDescriptor/FeatureKey/typeIdentifier)

A key for identifying the font feature selector.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)