How can I organize my Storyboard items?

Hi everyone,

I'm new to Xcode and to this forum. I have a picture of my main.storyboard document outline shown below. Here, a bunch of view controllers have a "_Info" in their name. Is there any way to make my document outline less cluttered, and organize these "_info" items(marked within a red rectangle) into one dropdown named "Info View Controllers"? It's not something that is necessarily needed for the app, I just wanted my storyboard document outline to look more organized.

Replies

It looks like the image didn't come through...here's a drive link of the picture:

https://drive.google.com/file/d/106GOSUeTKwAzabG6tlDVqUolWU2g9gGw/view?usp=sharing

Really, that's not a serious problem here to have tens of controllers showing, as long as their names are explicit for you to find rapidly who is who.


However, you could create multiple storyboards:

h ttps://medium.com/@stasost/xcode-a-better-way-to-deal-with-storyboards-8b6a8b504c06


You can also embed views in a reference storyboard:

h ttps://www.raywenderlich.com/1539-ios-9-storyboards-tutorial-what-s-new-in-storyboards

Great question. Interface Builder does not have a way to group view controller scenes in the outline. As Claude31 mentioned, Storyboard References are an alternative that might help. Other than that, I would suggest filing feedback on Interface Builder using Feedback Assistant and explaining what your use case is. This way we can track these internally.

Here are some links that may be helpful:

Bug Reporting/Feedback Assistant: https://developer.apple.com/bug-reporting/
WWDC15 - What's New in Storyboards: https://developer.apple.com/videos/play/wwdc2015/215/?time=290