Type Method

fontCollectionWithDescriptors:

Returns a font collection matching the given descriptors.

Declaration

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

Parameters

queryDescriptors

The descriptors used to match the returned collection.

Return Value

The font collection matching the given descriptors.

See Also

Creating Font Collections

+ fontCollectionWithLocale:

Returns a collection of fonts matching the given locale.

+ fontCollectionWithName:

Creates a named font collection object.

+ fontCollectionWithName:visibility:

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

fontCollectionWithAllAvailableDescriptors

The font collection that matches all registered fonts.