---
title: "addFontDescriptors(_:toCollection:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsfontmanager/addfontdescriptors(_:tocollection:)"
---

# addFontDescriptors(_:toCollection:)

Adds an array of font descriptors to the specified font collection.

## Declaration

```swift
func addFontDescriptors(_ descriptors: [Any], toCollection collectionName: String)
```

## Parameters

- `descriptors`: The font descriptors to add.
- `collectionName`: The font collection to which descriptors are added.

## See Also

### Methods

- [availableFontNames(matching:)](appkit/nsfontmanager/availablefontnames(matching:).md)
- [fontDescriptors(inCollection:)](appkit/nsfontmanager/fontdescriptors(incollection:).md)
- [addCollection(_:options:)](appkit/nsfontmanager/addcollection(_:options:).md)
- [removeCollection(_:)](appkit/nsfontmanager/removecollection(_:).md)
- [removeFontDescriptor(_:fromCollection:)](appkit/nsfontmanager/removefontdescriptor(_:fromcollection:).md)
- [fontManager(_:willIncludeFont:)](objectivec/nsobject-swift.class/fontmanager(_:willincludefont:).md)
