开发者

When connecting IBOUTLETS, what is the significance of having a nothing, a dash?

When conne开发者_运维百科cting outlets in interface builder(by cntrl-clicking) , sometimes I see a "-" proceeding the name of the outlet and sometimes there is nothing there. Of course a dot signifies that there is a connection. But what is the significance of a dash?


From the Xcode user guide:

If a connection identical to the one being made already exists, the menu item is flagged with a dot. If a connection exists with that name, but to a different object, it is flagged with a dash.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜