Change selection color on view-based NSTableView

前端 未结 13 2104
别跟我提以往
别跟我提以往 2020-12-07 19:11

Standard highlighting color in OS X applications is blue.

Is it possible to change it to another color, e.g. gray?

Note that I am using the new view-based

13条回答
  •  情话喂你
    2020-12-07 19:26

      Use this Notification for NSTableView:
    
              - (void)tableViewSelectionDidChange:(NSNotification *)notification
                {
    
                     //You Logic stuff
                 }
    

提交回复
热议问题