自定義的NSButton初始化函數中:(self.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
或外部調用(button.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
自定義的NSButton初始化函數中:(self.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
或外部調用(button.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask