[quote=“steffenfrost”]Furthermore, for the SpeakLine example, you also have to set the target even though I declared the pointers for the buttons with IBOutlet in the header file and connected the buttons in the NIB.
Ummm…what exactly was connected in the NIB?
It sounds like you connected from the APP CONTROLLER to the BUTTON. This would given you a reference to the button (that is, instantiate the IBOutlets you declared for the buttons) so you could do things like change the label of a button. However, that would NOT do anything to affect what happens when you press the button.
The NIB-equivalent of the code would be control-dragging from the BUTTON to the APP CONTROLLER and selecting sayIt: or stopIT:.