Examining the IOS View Hierarchy

(If you normally look for posts about There here, you can skip this one).

If you’ve done any amount of IOS programming, you have probably found yourself digging through the view hierarchy more than once using XCODE to track down some weird mis-alignment or mysterious artifact on the screen. You’ve probably even resorted to one of the many helpful code snippets of Xcode commands to dump the hierarchy to the debugger log.

Didn’t you ever wonder why there wasn’t a nice GUI-like tool to examine the view hierarchy?

Didn’t you even “Why can’t I just click on this mysterious artifact and find out where it is in the hierarchy and WHAT THE HECK IT IS?”

Well, now you can.

I stumbled across this AMAZING tool that lets you do just that:

https://github.com/glock45/iOS-Hierarchy-Viewer

Here’s a screen shot (stolen from their github site):

If I could find a way to send the author money, I would. It’s saved me THAT much time in the few weeks I’ve had it.

So, even if you don’t need it now, download it and try it. You’ll thank me (and much more importantly, them) about 12 seconds after you try it out.

Advertisements

  1. #1 by EternalQuasar™ on 2012.10.09 - 9:55 pm

    Simply wonderful…

  2. #2 by Jonathan on 2012.10.09 - 8:55 pm

    This is pretty neat! It even allows you to view Core Data! Will definitely download this for future reference. Nice tip!

    • #3 by Jonathan on 2012.10.09 - 8:59 pm

      PS. Is this ThereIM for iOS? 😉

  3. #4 by coolnet on 2012.10.09 - 7:51 pm

    later today, i’ll download it on my macbook pro. By the way, what do you think about the new Mountain Lion? Do you like it?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: