init(name:visibility:)
Creates a font collection with the specified name and font visibility.
Declaration
init?(name: NSFontCollection.Name, visibility: NSFontCollection.Visibility)Parameters
- name:
The name of the collection.
- visibility:
The visibility of the collection.
Return Value
The font collection with the specified name and visibility.