删除 xcode 中未使用的插座

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12559653/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:36:00  来源:igfitidea点击:

delete unused outlets in xcode

xcodeoutlet

提问by Bohan

In Xcode I created an outlet and made it connected. Then I deleted the connection by clicking the cross in connection inspector. However, the unused outlet always appears there. How can I deleted the unused outlet. (I have deleted the code in the .m file)

在 Xcode 中,我创建了一个插座并将其连接起来。然后我通过单击连接检查器中的叉来删除连接。但是,未使用的插座总是出现在那里。如何删除未使用的插座。(我已经删除了 .m 文件中的代码)

回答by Bohan Gao

It is very easy, just click the delete button

很简单,直接点击删除按钮

Connections Inspector panel

click the X

单击 X