Type Method

fontCollectionWithDescriptors:

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

Declaration

+ (NSMutableFontCollection *)fontCollectionWithDescriptors:(NSArray<NSFontDescriptor *> *)queryDescriptors;

Parameters

queryDescriptors

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

Return Value

A mutable font collection object.

See Also

Creating a Font Collection

+ fontCollectionWithLocale:

Creates a mutable font collection containing fonts suitable for the specified locale.

+ fontCollectionWithName:

Creates a mutable named font collection object.

+ fontCollectionWithName:visibility:

Creates a mutable font collection with the specified name and font visibility.

fontCollectionWithAllAvailableDescriptors

The mutable font collection that matches all registered fonts.