禁用故事板警告 [英] Disable storyboard warnings
问题描述
我避免在我的 swift 代码中收到警告.然而,当谈到故事板要求时,对我来说有点困难.
I avoid getting warnings in my swift code. However when it comes to storyboard requirements it's a bit harder for me.
所以现在我只想禁用 xcode 显示有关故事板问题的警告.
So for now i just want to disable xcode showing warnings regarding storyboard issues.
我尝试了以下方法但没有成功:
I have tried the following without success:
推荐答案
禁用显示警告选项
正如您所提到的,Interface Builder Storyboard Compiler -Options
下的选项 Show warnings
必须保持为否,以抑制与您的故事板相关的警告.
Disable show warnings option
As you have mentioned the option Show warnings
under Interface Builder Storyboard Compiler -Options
must be kept no, for suppressing warnings related to your storyboard.
此外,您还可以从Issue navigator
中警告选项卡的右下角位置启用和禁用此选项.
Also after that you can enable and disable this option from right bottom position of warnings tab in Issue navigator
.
示例:
这样您就可以轻松切换.
That way you can toggle easily.
这篇关于禁用故事板警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!