What settings are there for Cocoas NSFontPanel?
The NSFontPanel, available on iWork pages, has the Text Underline, Text Strikethrough, and Document Color elements at the top. We do not want this in our NSFontPanel. Is there a way to remove or disable these controls?
Record the NSFontPanelValidation protocol in the appropriate responders.
As you said, the responder must implement the NSFontPanelValidation protocol and override the fontPanel method - (NSUInteger) validModesForFontPanel: (NSFontPanel *). But this method is not called when it showed NSFontPanel.
Source: https://habr.com/ru/post/1306353/More articles:why don't include () allow setcookie to work? - phpThe most useful Explorer shell extensions - windowsRendering an XML document with multiple languages - xmlSpecification on a PHP page created by Wordpress - phpTimestamped Performance - performanceWhy do you use MyObject [] inside, but expose List ? - javaDifference between selected indexchanged and textchanged - asp.netReason for termination of service - delphiJava graph library for comparing 2 graphs - javaBlock HTML select element, allow sending value to send - jqueryAll Articles