Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any tools than can inspect the class constructs hierarchy of the window or view?

I want to see the inner constructs of a special view on Mac, like the class name and hierarchy, etc.

On Windows, we can use the Spy app for this purpose. Is there any app that works similarly for use on the Mac ?

like image 528
iXcoder Avatar asked Apr 20 '10 07:04

iXcoder


2 Answers

Yes, you're looking for F-Script. Have a look at the F-Script injection service on the downloads page.

like image 82
Rob Keniger Avatar answered Nov 13 '22 10:11

Rob Keniger


A little more abstractly, you can often use the Accessibility Inspector, which is one of the Developer Tools, for the same purposes. Its intended purpose is for testing your app's accessibility to disabled users, who may be using screen readers (such as VoiceOver) or other assistive software or hardware.

Of course, it won't be able to see into your custom views (if you have any) unless you've made them accessible.

like image 36
Peter Hosey Avatar answered Nov 13 '22 08:11

Peter Hosey