I am very new to iPhone development. I often encounter IBAction
, IBOutlet
and so on when reading Objective-C and Swift code. What does IB
IBAction and IBOutlet are interface Builder Constants IBOutlet:A Controller class can refer to the object in the nib file using a special constant called IBOutlet.
IBActions:Interface objects in the nib file can be set to trigger specific methods in controller class using IBAction as return type of the method.