XCode 6: How To Debug The View Hierarchy In Your Storyboard

Reveal is one of the products that got sherlocked by Apple with the release of XCode 6. Well, almost. Not sure the XCode 6 version is as sophisticated as Reveal, but it does have most of the similar functionality and the big bonus is that it is in XCode, so it’s very easy to use and activate (once you know how to activate it).

To get started just run your app, and once you’re at a point where you’re ready to debug, click this tiny button on your storyboard:

Reveal App in XCode

Now, enjoy!

Enjoy the article? Join over 14,500+ Swift developers and enthusiasts who get my weekly updates.

  • Mossby Pomegranate

    I had no idea this existed. I love the skeleton view. I get from the context of this post that ‘debugging’ has a wider purpose/definition than just ‘the tedious act of fixing all-that-what’s-broke’ — am I right?

    • This view is supposed to help you debug your views visually. The button to bring it up is called “Debug View Hierarchy”. In the Reveal app, I think you can change settings (e.g. text color) and visually see the changes to the view, so I can see Apple adding that functionality in as well in the future.