Contents

fontPanel(_:)

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

Declaration

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

Parameters

  • create:

    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

Related Documentation

Managing the Font Panel and Font Menu