Instance Method


Returns the application’s shared Font panel object, optionally creating it if necessary.


func fontPanel(_ create: Bool) -> NSFontPanel?



If true, the Font panel object is created if necessary; if false, it is not.

Return Value

The application’s shared Font panel object.

See Also

Managing the Font Panel and Font Menu

var isEnabled: Bool

A Boolean value that indicates if the font conversion system’s user interface items (the Font panel and Font menu items) are enabled.

func fontManager(Any, willIncludeFont: String) -> Bool

Requests permission from the Font panel delegate to display the given font name in the Font panel.

func setFontMenu(NSMenu)

Records the given menu as the application’s Font menu.

func fontMenu(Bool) -> NSMenu?

Returns the menu that’s hooked up to the font conversion system, optionally creating it if necessary.