show(_:withName:visibility:)
Make the given font collection visible by giving it a name.
Declaration
class func show(_ collection: NSFontCollection, withName name: NSFontCollection.Name, visibility: NSFontCollection.Visibility) throwsParameters
- collection:
The font collection to make visible.
- name:
The name to associate with the collection.
- visibility:
The visibility of the collection to show.
Discussion
Named collections are shown by user interfaces such as the Font panel. When you change the collection, you must show it again to see the changes reflected on disk or in the Font panel.