Apologies
You must be signed in to watch this lesson.
Debug View Hierarchy
Twitter Slide Out Menu
Just wanted to include a quick bonus lesson in today's video to highlight an extremely useful feature of Xcode. This feature allows you to inspect how your views are being drawn inside of your application, and you can access it by clicking the Debug View Hierarchy button near the bottom. Let's dig through all of the available options and try to resolve a minor bug with our view code. Enjoy.

Comments (4)
PreachOnBerto
5 years ago
Awesome bonus lesson. I did notice how removing that spacer view affected the image view a few lessons back, and I tried increasing and decreasing the heightForHeaderView to fix it but noticed that it started to affect the statsLabel component so I just ended up leaving the spacer view. Learning more about IntrinsicContentSize definitely will make me utilize it more.
Brian Voong
5 years ago
beto123
5 years ago
Great Bonus Lesson!
rinconchris
5 years ago
Really, really useful stuff! thanks...
arum seo
5 years ago
to get the height of the header... is stack view required? if i don't use stack view. can the height be still calculated automaticlly? thanks!
Brian Voong
5 years ago
HELP & SUPPORT