I have an NSMatrix of switch buttons. I just want to have my application do something when one of these switch buttons are pressed with the mouse. Can anybody help me on this? Here's what I have tried: Subclassing NSObject in IB and making the newly created object a delegate of the NSMatrix. But what delegation method should I use? I have tried a few, but none of them work. Any assistance would be appreciated.