• 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: learning the NSView structure of an app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: learning the NSView structure of an app?


  • Subject: Re: learning the NSView structure of an app?
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 1 Sep 2009 15:49:39 -0400
  • Organization: Rogue Research Inc.

On 8/30/09 11:17 AM, Rob Keniger said:

>> As a relatively new cocoa developer, one thing I struggle with is
>> determining on visual inspection how an app is constructed in terms
>> cocoa views. Some things are obvious like splitter views, the
>> toolbar, etc.  But some are not.  Does anyone know if there is a way
>> to examine the view hierarchy of an app? Or alternatively, a good
>> way to learn many of the common app layout patterns?
>
>
>If you launch your app executable with the argument -NSShowAllViews
>YES, then you will be able to see all the views and their hierarchy
>using color-coded border highlights.

It's worth noting that -NSShowAllViews YES does not work with layer-
backed views.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Next by Date: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Previous by thread: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Next by thread: Finder-style sorting and the SQL Core Data store, best practice?
  • Index(es):
    • Date
    • Thread