Type Method

setFontPanelFactory:

Sets the class used to create the Font panel to the given class.

Declaration

+ (void)setFontPanelFactory:(Class)factoryId;

Parameters

factoryId

The new font panel factory class, which should be a subclass of NSFontPanel.

Discussion

Invoke this method before accessing the Font panel in any way, such as in the application delegate’s applicationWillFinishLaunching: method.

See Also

Changing the Default Font Conversion Classes

+ setFontManagerFactory:

Sets the class object used to create the font manager to the given class.