Re: Tool for seeing view hierarchies at runtime?
Re: Tool for seeing view hierarchies at runtime?
- Subject: Re: Tool for seeing view hierarchies at runtime?
- From: Greg Miller <email@hidden>
- Date: Wed, 21 Jan 2004 11:39:21 -0500
On Jan 21, 2004, at 10:55 AM, Jay Koutavas wrote:
One of the things I miss from PowerPlant is the "Visual Hierarchy"
option available in PowerPlant's debugging gear. It allows you to, at
runtime to, get a hierarchical list of all views that the app is
displaying.
Could someone steer me to a similar facility that works with Cocoa's
NSView hierarchies? Is there such a thing around?
This may be what you're looking for. Try using the -NSShowAllViews YES
command line option when starting the application. As an example:
$ cd /Applications/TextEdit.app/Contents/MacOS/
$ ./TextEdit -NSShowAllViews YES &
Greg Miller
America Online, Inc.
Sr. Systems Administrator
(p) 614.538.3218
(e) email@hidden
"If it isn't broken, take it apart and find out why."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.