Instance Method

addQuery(for:)

Edit the query and exclusion arrays by adding the following font descriptors.

Declaration

func addQuery(for descriptors: [NSFontDescriptor])

Parameters

descriptors

The font descriptor to add to the query.

See Also

Managing Descriptor Queries

var queryDescriptors: [NSFontDescriptor]?

A list of NSFontDescriptors to match.

func removeQuery(for: [NSFontDescriptor])

Edit the query and exclusion arrays by removing the following font descriptors..

var exclusionDescriptors: [NSFontDescriptor]?

Descriptors that are excluded from matching descriptors.