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

# NSFontCollection.Name

The constants represent the standard mutable collection names—these names are included in the list of [`allFontCollectionNames`](/documentation/AppKit/NSFontCollection/allFontCollectionNames)–they have special meaning to the Cocoa font system and should not be hidden or renamed.

```
struct Name
```

## Topics

### Type Properties

[`static let allFonts: NSFontCollection.Name`](/documentation/AppKit/NSFontCollection/Name/allFonts)

All fonts in the system.

[`static let user: NSFontCollection.Name`](/documentation/AppKit/NSFontCollection/Name/user)

Per-user unmodifiable collection.

[`static let favorites: NSFontCollection.Name`](/documentation/AppKit/NSFontCollection/Name/favorites)

Font collection of the user’s preferred font descriptors.

[`static let recentlyUsed: NSFontCollection.Name`](/documentation/AppKit/NSFontCollection/Name/recentlyUsed)

Font collection automatically maintained by NSFontManager.

### Initializers

[`init(String)`](/documentation/AppKit/NSFontCollection/Name/init(_:))

[`init(rawValue: String)`](/documentation/AppKit/NSFontCollection/Name/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

---

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)