I my Viewhave a button myButtonin my XIB. In XIB, the owner of the file has a class HelloWorldViewController. And the view for File Owner is mine Viewin XIB.
In HelloWorldViewController(which is in MainWindow.XIB) I have - (IBAction) doMyButton:(id)senderand I have the corresponding definition in the file HelloWorldViewController.h.
In my view, I have events (again in XIB). Click Inside → File Owner doMyButton.
For the file owner, I received the actions doMyButton → Rounded Rect Button Touch Up Inside.
I have a debug point in the first line of code that is inside the doMyButton method. When I touch the button (using the mouse in the simulator), I did not hit the breakpoint.
WTF?
IB screen capture if this helps:
Overview of
Button Properties
source
share