<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.11.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFontManager/fontDescriptors(inCollection:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFontManager(im)fontDescriptorsInCollection:"
  },
  "title" : "fontDescriptors(inCollection:)"
}
-->

# fontDescriptors(inCollection:)

Returns an array of the font descriptors in the specified collection.

```
func fontDescriptors(inCollection collectionNames: String) -> [Any]?
```

## Parameters

`collectionNames`

The font collection for which to return descriptors.

## Return Value

The font descriptors.

## See Also

[`collectionNames`](/documentation/AppKit/NSFontManager/collectionNames)

The names of the currently loaded font collections.



---

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)