Is there a way I can get ALL the views and subviews and subviews of these subviews (you get the idea…) of an NSWindow?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a category on NSView:
With a quick nib file I created with a view hierarchy, it printed this:
One note of concern I should add is that it’s unclear to me how this would be useful, except as a debugging tool. But even then, there are probably easier ways of doing things.