Search code examples
objective-ccocoanstableviewnsviewnstableviewcell

How can I determine if the mouse is over a specific view in NSTableView?


I have an NSTableView that is displaying different views for each cell. How can I determine that my mouse is over a specific view? I want to be able to hide/show certain UI pieces depending on the mouseover.


Solution

  • Generally speaking you'd use an NSTrackingArea.