Making an action happen on a key press

Hi all,

Really simple question.

I have a button that calls a handler- that works perfectly.
What I want is to call the same handler when the user presses return.

I have no idea how to do that.

Cheers,

OLIx

Hi,

in Interface Builder set Key Equivalent of the button to ↩ by clicking on the text field and pressing return

Lol… Perfect…

OLIx