I've been organizing each view controller with its XIB within its own group folder and putting each set of view controllers and classes and storyboards within groups for each part of our project.
What pretty much always seems to happen though is that I soon have enough view controllers and classes that finding which class is where can be a bit of a pain.
I'm reminded of the Finder where we can color files and folders, and of course, we have pragma marks to show separators in our header and method files, but we don't really have any nice UI to section off chunks of our classes and view controllers aside from organizing in folders.
One option though is to find a non breaking line character (hyphen and option hyphen don't do) and simply create a group folder and name it with non breaking lines.
I bothered to try this out and find that character and it's better than nothing. The result in Xcode 5.1.x is a folder/group icon and clean horizontal line to the right of it.
Here's a string of a bunch of those characters that I use to name my new separator groups
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Even though it looks long here, in Xcode, in Helvetica Regular at 12 point, the characters above product a horizontal line about 2.5 inches long.
Hope this is useful to some of you in helping to organize your code.
Cheers, - Alex Zavatone |