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

# UIFontDescriptor.AttributeName

Constants that describe font attributes.

```
struct AttributeName
```

## Topics

### Constants

[`static let cascadeList: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/cascadeList)

The cascading list attribute.

[`static let characterSet: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/characterSet)

The character set attribute.

[`static let face: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/face)

The font face attribute.

[`static let family: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/family)

The font family attribute.

[`static let featureSettings: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/featureSettings)

The font feature settings attribute.

[`static let fixedAdvance: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/fixedAdvance)

The glyph advancement attribute.

[`static let matrix: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/matrix)

The font’s transformation matrix attribute.

[`static let name: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/name)

The font name attribute.

[`static let size: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/size)

The font size attribute.

[`static let textStyle: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/textStyle)

The text style attribute.

[`static let traits: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/traits)

The font traits dictionary attribute.

[`static let visibleName: UIFontDescriptor.AttributeName`](/documentation/UIKit/UIFontDescriptor/AttributeName/visibleName)

The font’s visible name attribute.

### Initializers

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

Creates an attribute name with the specified raw value.

## Relationships

### Conforms To

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

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

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

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

[`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)