I have a basic say hello button on a tabbed layout in the third view (in total I have 3 virecontrollers:FirstViewController, SecondViewController,ThirdViewController). In the third I put a button anf from xcode ui builder I have defined outlet and action for the button (action: sayhello)
When I click the button if I have created the button delegate action or not I have the same error:
Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[ThirdViewController sayhello:]: unrecognized selector sent to instance 0xc1daff0
Where do I'm wrong ?
THanks in advance for the hint.