• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: view hierarchy inspector (for debugging)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: view hierarchy inspector (for debugging)?


  • Subject: Re: view hierarchy inspector (for debugging)?
  • From: Håkan Waara <email@hidden>
  • Date: Wed, 24 May 2006 21:26:51 +0200

A few days ago, I was wrestling with a very weird view hierarchy, and it got me thinking the same thing.

It would be useful if you could select a row (i.e., a view) and it'd highlight it in the UI too.

I'm sure a lot of people would find this useful if you get around writing it!

/Håkan

23 maj 2006 kl. 00.42 skrev Cameron Hayne:

Has anyone written a utility (or code fragment) for inspecting the hierarchy of views in a window?
I'm thinking of something that would show (e.g. in an NSBrowser) all of the views & subviews of a specified window. For each view, it would show the class of that view, the frame and bounds, etc.
I'm thinking of something that could be built into your app as a debugging tool. The window to be queried could be specified programmatically (i.e. by giving it as a parameter) or perhaps by choosing it from a list of windows in that app.
I searched the archives but didn't see any mention of something like this - which surprised me since it would serve a common need.


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >view hierarchy inspector (for debugging)? (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Re: Cropping
  • Next by Date: Re: Disable "Show Fonts..." menu item?
  • Previous by thread: view hierarchy inspector (for debugging)?
  • Next by thread: NSTableView Cocoa Bindings: Handling enter/return on non-editable list
  • Index(es):
    • Date
    • Thread