• 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: Creating subviews programmatically ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating subviews programmatically ?


  • Subject: Re: Creating subviews programmatically ?
  • From: j o a r <email@hidden>
  • Date: Mon, 26 Nov 2007 08:27:20 -0800


On Nov 26, 2007, at 8:18 AM, Vince Ackerman wrote:

Is this possible or would the overhead and drawing time be prohibited?


In all likelihood quite possible.


Would I start by adding subviews to the main view , giving each it's own bounds rect, then resize the individual subviews as the main view was re-sized?


If you replace "bounds rect" with "frame rect", the above statement seems about right.


Is auto sizing taken care of by the main view?


In this case I think that you would have to take care of sizing and positioning of subviews manually as the size of the main view changes.

j o a r


_______________________________________________

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


References: 
 >Creating subviews programmatically ? (From: Vince Ackerman <email@hidden>)

  • Prev by Date: Re: Toll Free Bridging and Garbage Collection
  • Next by Date: Re: Creating subviews programmatically ?
  • Previous by thread: Creating subviews programmatically ?
  • Next by thread: Re: Creating subviews programmatically ?
  • Index(es):
    • Date
    • Thread