Mac Detecting NSButtonCell clicks inside an NSTableView

rand0m3r

macrumors regular
Original poster
Jun 30, 2006
114
0
I have an NSTableView which has NSButtonCell as one of the three columns. I don't have a problem with setting the value of the switch/checkbox (on or off) but I don't know how to detect the checkbox being clicked in the first place.

It seems like mouseEntered: is the closest thing, but I'm not sure how I'm suppose to use it. Is there any form of notification or delegate?
 

rand0m3r

macrumors regular
Original poster
Jun 30, 2006
114
0
each row of the table is basically a record/object of my model. so when there is a click in the box, i want to change the model to reflect that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.