Initializer

init(locale:)

Returns a collection of fonts matching the given locale.

Declaration

init?(locale: Locale)

Parameters

locale

The locale to match.

Return Value

A collection of fonts matching the given locale.

See Also

Creating Font Collections

init(descriptors: [NSFontDescriptor])

Returns a font collection matching the given descriptors.

class var withAllAvailableDescriptors: NSFontCollection

Returns a font collection matching all registered fonts.