setFontPanelFactory(_:)
Sets the class that creates the shared Font panel object.
Declaration
class func setFontPanelFactory(_ factoryId: AnyClass?)Parameters
- factoryId:
The new font panel factory class, which should be a subclass of
NSFontPanel.
Discussion
Call this method before accessing the Font panel in any way, such as in your app delegate’s applicationWillFinishLaunching(_:) method.