Contents

matchingDescriptors(options:)

Returns an array of font descriptors matching the logical descriptors with the given options.

Declaration

func matchingDescriptors(options: [NSFontCollectionMatchingOptionKey : NSNumber]? = nil) -> [NSFontDescriptor]?

Parameters

  • options:

    A dictionary containing any combination of the Matching Descriptors Options keys or nil.

Return Value

The matchingDescriptors for the given options.

See Also

Getting the Font Descriptors