<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMutableFontCollection/init(descriptors:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMutableFontCollection(cm)fontCollectionWithDescriptors:"
  },
  "title" : "init(descriptors:)"
}
-->

# init(descriptors:)

Creates a mutable font collection containing the fonts that match the specified font descriptors.

```
init(descriptors queryDescriptors: [NSFontDescriptor])
```

## Parameters

`queryDescriptors`

One or more query descriptors describing the fonts to include in the collection.

## Return Value

A mutable font collection object.

## Discussion

---

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)