在 xcode 6 中对文档大纲进行排序 [英] sorting document outline in xcode 6

查看:37
本文介绍了在 xcode 6 中对文档大纲进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在文档大纲中,场景在添加到故事板时进行排序.现在在添加了所有场景后,我想在内容逻辑"中对它们进行排序,以便更容易地找到它们.是否可以手动重新排列它们,如果可以,如何重新排列?

in the document outline the scenes are sorted as they are added to the storyboard. Now after having added all scenes I want to sort them in a "content logic" to find them easier. Is it possible to re-arrange them manually and if so, how?

推荐答案

这可以通过 storyboard xml 来完成.只需右键单击故事板并将其作为 xml 打开.您应该能够看到包含视图控制器场景"的标签场景".场景"标签下显示的顺序与您在文档大纲下看到的顺序相对应.

This can be done via storyboard xml. Just right click storyboard and open it as an xml. You should be able to see tag "scenes" which contains "scene" which is viewcontroller. The order presented under "scenes" tag correspond to the one you can see under document outline.

正如您可能假设的那样,只需将整个场景"内容复制粘贴到您希望在文档大纲中查看的位置即可.

As you may assume just copy paste the whole "scene" content to the place you want to see it in document outline.

这篇关于在 xcode 6 中对文档大纲进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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