[英]Control-drag in Xcode provides constraint options instead of IBOutlet options
I've added a new IBOutlet
that I want to connect in Interface Builder - however, all of a sudden, control-dragging from the class to the interface item provides me with a list of constraint options instead of a list of outlets/received actions. 我添加了一个我想在Interface Builder中连接的新IBOutlet
但是,突然之间,从类到界面项的控件拖动为我提供了一个约束选项列表,而不是出口/已接收动作的列表。 。
This does not seem to affect all items, only some of them, but I've double-checked both the designated class of the cell view, as well as the @IBOutlet
declaration in the source file, and everything seems to match up properly: 这似乎并不影响所有项目,仅影响其中一些项目,但是我已经仔细检查了单元格视图的指定类以及源文件中的@IBOutlet
声明,并且一切似乎都正确匹配:
通过右键单击源项目(不拖动),然后连接列表中的各个出口,我能够解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.