I have an NSMatrix of buttons configured as a regular 0 - 9 keypad.
I have set all the button tags to 0 - 9 - if I were using Interface Builder in the normal way I would instantiate a controller class, connect the keypad and then use the tags to tell my code what button had been pressed.
I have been impressed with the bindings system and I would like to bind my matrix of buttons to an int in my model class but am stumped trying to figure out how to access the key tags through the binding mechanism.
Any help would be appreciated !
I have set all the button tags to 0 - 9 - if I were using Interface Builder in the normal way I would instantiate a controller class, connect the keypad and then use the tags to tell my code what button had been pressed.
I have been impressed with the bindings system and I would like to bind my matrix of buttons to an int in my model class but am stumped trying to figure out how to access the key tags through the binding mechanism.
Any help would be appreciated !