UIButton in objective c [duplicate]
Possible Duplicate:
IBOutlet in objective-c
wha开发者_运维百科t is the function of this line
IBOutlet UIButton *storeNumber;
It's creating an outlet for interface builder. You are able to connect this UIButton property with a UIButton in IB.
Apple Documentation says:
IBOutlet Identifier used to qualify an instance-variable declaration so that Interface Builder can synchronize the display and connection of outlets with Xcode. Insert this identifier immediately before the variable type in any variable declarations. For examples, including how to use it with the @property syntax, see “Xcode Integration”.
精彩评论