sorting document outline in xcode 6

喜你入骨 提交于 2019-12-11 09:35:21

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/26814913/sorting-document-outline-in-xcode-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!