Initializer

init(descriptors:)

Returns a font collection matching the given descriptors.

Declaration

init(descriptors queryDescriptors: [NSFontDescriptor])

Parameters

queryDescriptors

The descriptors used to match the returned collection.

Return Value

The font collection matching the given descriptors.

See Also

Creating Font Collections

class var withAllAvailableDescriptors: NSFontCollection

Returns a font collection matching all registered fonts.

init?(locale: Locale)

Returns a collection of fonts matching the given locale.