Live data from Hacker News

UIDebuggingInformationOverlay

ryanipete.com

1–10 of 28 posts

Re: UIDebuggingInformationOverlay

#5
> be sure that the code doesn’t make it into your App Store build, else you’re likely to get rejected.

Doesn't appear to be the case! Here's a list of 611 apps using this class: https://mixrank.com/appstore/apps?expiration=2017-06-26&list...

Notably, it looks like Google, Facebook, Netflix, and Uber are all using it (or have a dependency that is). There's been a handful that were using it since early 2015, and a surge of several hundred towards the end of last year.

Here's the other related classes:

    UIDebuggingInformationRootTableViewController
    UIDebuggingInformationTopLevelViewController
    UIDebuggingInformationValue
    UIDebuggingInformationValueTableViewCell
    UIDebuggingInformationValueViewObserver
    UIDebuggingInformationViewController
    UIDebuggingInformationValueView
    UIDebuggingInformationOverlay
    UIDebuggingInformationValueViewNumber

Re: UIDebuggingInformationOverlay

#7
Related to this, I'll highly recommend Reveal[1], a macOS app which allows for (semi-)live view debugging of iOS apps. Reveal provides view hierarchy info, and renders it on (the mac's) screen in a highly inspectable way.

Specifically, both flat 2D and a really great 3D exploded renderings of the active views are available. This is really brilliant for acquiring a deeper understanding of many initially opaque aspects of iOS view construction.

Likewise, the inspectors let you tweak and adjust autolayout constraint values, frames, bounds, and other view settings live. All together, working with Reveal restores a refreshing amount of the ease of view debugging and iteration speed that I love about working with modern in-browser debugging.

[1] https://revealapp.com/

Re: UIDebuggingInformationOverlay

#8

> be sure that the code doesn’t make it into your App Store build, else you’re likely to get rejected. Doesn't appear to be the case! Here's a list of 611 apps using this class: https://mixrank.com/appstore/apps?expiration=2017-06-26&list... Notably, it looks like Google, Facebook, Netflix, and Uber are all using it (or have a dependency that is). There's been a handful that were using it since early 2015, and a surg…

Interesting! I just assumed.

Re: UIDebuggingInformationOverlay

#9
Dude! You win HN for the week, at least in the eyes of this guy, currently iOS developer guy. Just yesterday I was thinking to myself, how I needed some kind of tool to help me visualize the view hierarchy. I ended up setting different background colors on various views to understand my problem.

Thank you.

Re: UIDebuggingInformationOverlay

#10
Just a note about your site. The 'Website' link on the left pane, it seems to 404 on just about every page. It looks like it is a relative link, rather than static because the domain is getting appended to the end of each source URL.

Neat find.

Post reply on HN