init(name:visibility:)
Creates a mutable font collection with the specified name and font visibility.
Declaration
init?(name: NSFontCollection.Name, visibility: NSFontCollection.Visibility)Parameters
- name:
The name to apply to the font collection.
- visibility:
The visibility of the fonts in the collection.
Return Value
A mutable font collection object.