availableFontNames(matching:)
Returns the names of the fonts that match the attributes in the given font descriptor.
Declaration
func availableFontNames(matching descriptor: NSFontDescriptor) -> [Any]?Parameters
- descriptor:
The font descriptor whose attributes are matched.
Return Value
The names of the matching fonts.