<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/nsfontmanager-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated Symbols"
}
-->

# Deprecated Symbols

Review unsupported symbols and their replacements.

## Topics

### Methods

[`func availableFontNames(matching: NSFontDescriptor) -> [Any]?`](/documentation/AppKit/NSFontManager/availableFontNames(matching:))

Returns the names of the fonts that match the attributes in the given font descriptor.

[`func fontDescriptors(inCollection: String) -> [Any]?`](/documentation/AppKit/NSFontManager/fontDescriptors(inCollection:))

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

[`func addCollection(String, options: NSFontCollectionOptions) -> Bool`](/documentation/AppKit/NSFontManager/addCollection(_:options:))

Adds a specified font collection to the font manager with a given set of options.

[`func removeCollection(String) -> Bool`](/documentation/AppKit/NSFontManager/removeCollection(_:))

Removes the specified font collection.

[`func addFontDescriptors([Any], toCollection: String)`](/documentation/AppKit/NSFontManager/addFontDescriptors(_:toCollection:))

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

[`func removeFontDescriptor(NSFontDescriptor, fromCollection: String)`](/documentation/AppKit/NSFontManager/removeFontDescriptor(_:fromCollection:))

Removes the specified font descriptor from the specified collection.

  <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/fontManager(_:willIncludeFont:)>

### Properties

[`static var applicationOnlyMask: NSFontCollectionOptions`](/documentation/AppKit/NSFontCollectionOptions/applicationOnlyMask)

Makes the collection available only to the application.

[`var collectionNames: [Any]`](/documentation/AppKit/NSFontManager/collectionNames)

The names of the currently loaded font collections.

[`var delegate: AnyObject?`](/documentation/AppKit/NSFontManager/delegate)

The font manager’s delegate.



---

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)