简体   繁体   中英

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.

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:

在此处输入图片说明

通过右键单击源项目(不拖动),然后连接列表中的各个出口,我能够解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM