开发者

UIButton in objective c [duplicate]

This question already has answers here: Closed 11 years ago.

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”.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜