• 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
Custom NSViews and the view hiarchy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSViews and the view hiarchy


  • Subject: Custom NSViews and the view hiarchy
  • From: "Bruce Johnson" <email@hidden>
  • Date: Wed, 25 Jul 2007 11:16:57 -0600

I have a custom NSView which is a subclass of another custom NSView.

Then in Interface Builder, I made them subviews(?) of a scrollview.  Now I
know that there are a few other views mixed in (NSClipView, documentView,
etc) The order of which I am not certain.

My question is:
I need constrain the porportions of the view as the window is resized, so
which view do I constrain?

I'm not sure of the hiarchy

NSView
--
--
a custion View
my subclass of a custom view
--
--
ScrollView

any insight would be very much appreciated.
--
----
Bruce Johnson
email@hidden
_______________________________________________

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


  • Follow-Ups:
    • Re: Custom NSViews and the view hiarchy
      • From: Francis Derive <email@hidden>
  • Prev by Date: Re: opening the MainMenu nib window
  • Next by Date: Re: opening the MainMenu nib window
  • Previous by thread: Re: opening the MainMenu nib window
  • Next by thread: Re: Custom NSViews and the view hiarchy
  • Index(es):
    • Date
    • Thread