Xcode助手编辑器不会显示某些代码 [英] Xcode assistant editor won't show some of the code

查看:214
本文介绍了Xcode助手编辑器不会显示某些代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我想让您知道该类在每个 ViewController 中都设置为正确的文件-我知道这是因为它以前曾工作过,但后来我在Xcode中遇到了一个崩溃,迅速闪烁,无法读取,然后又消失了。

First of all, I would like you to know that the class IS set to the correct file in each ViewController - I know that because it did work before, but then I got a "crash" in Xcode that blinked quickly without me being able to read it before it went off again.

我的问题是

我的Xcode中有很多 ViewControllers ,一切工作正常,我在为 ViewControllers

I have a lot of ViewControllers in my Xcode, everything was working fine, I was making some more features to the ViewControllers.

然后我得到了如上所述的崩溃,它不会显示任何与它们的 ViewController 在助理编辑器中。

Then I got the "crash" as mentioned above, and it would not show any of the files/classes related to their ViewController in assistant editor.

助理编辑只是说:没有助理结果。然后我读到我可以只显示XCode项目中的文件,然后删除 project.xcworkplace 和xcuserdata。我认为起初它是可行的,但不幸的是,它不适用于每个视图控制器-只能适用于其中一些视图。

Assistant editor just said: No Assistant Results. Then I read that I could just show the files inside my XCode project and delete project.xcworkplace and xcuserdata. And I thought it worked at first, but it did not work on every viewcontroller unfortunately - only on some of them.

现在,我还有很多 ViewControllers 不能编辑,我讨厌如果我必须重新创建每一个。

Now, I still have plenty of ViewControllers left to edit that aren't working, and I would hate if I had to recreate every single one.

有人对此有更好的解决方案吗?我真的希望您这样做:-)

Does anyone have a better solution to this? I really hope you do :-)

推荐答案

请确保您设置了自动不是手册

这篇关于Xcode助手编辑器不会显示某些代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆