cocoamacosfontspanelnsfontpanel

Customizing Cocoas NSFontPanel


What customization options are there for Cocoas NSFontPanel?

The NSFontPanel accessible in iWork Pages has "Text Underline", "Text Strikethrough" and "Document Color" controls at the top. We don't want these in our NSFontPanel. Is there any way to remove or disable these controls?


Solution

  • Implement the NSFontPanelValidation protocol in the relevant responder(s).