Edit the query and exclusion arrays by adding the following font descriptors.
SDK
- macOS 10.7+
Framework
- App
Kit
Declaration
func addQuery(for descriptors: [NSFont Descriptor])
Parameters
descriptors
The font descriptor to add to the query.
Edit the query and exclusion arrays by adding the following font descriptors.
SDK
Framework
func addQuery(for descriptors: [NSFont Descriptor])
descriptors
The font descriptor to add to the query.
var query Descriptors: [NSFont Descriptor]?
A list of NSFontDescriptors to match.
func remove Query(for: [NSFont Descriptor])
Edit the query and exclusion arrays by removing the following font descriptors..
var exclusion Descriptors: [NSFont Descriptor]?
Descriptors that are excluded from matching descriptors.