开发者

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

开发者 https://www.devze.com 2023-04-11 20:55 出处:网络
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 signifie

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

精彩评论

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