Expanding Window/View
Expanding Window/View
- Subject: Expanding Window/View
- From: SD <email@hidden>
- Date: Mon, 09 Jun 2008 21:07:40 -0700
Hey all,
I'm going to be creating a Cocoa ui that will need to be able to
display, side-by-side, a variable number of copies of the same view
(ie: the view will have labels, and text fields and buttons but each
view will show different data).
Is there an easy and nice way to do this in Cocoa?
I know I can write code that will do this, but I thought maybe Apple
has some nice code that will do some or all of this for me.
---
my idea of the pseudo code would be:
foreach data
instantiate a view for the data
populate the view
compute the total width of the views
resize the window (is there a way to do this nicely like System
Preferences does)
add the views to the window
---
BTW: I'm familiar with Cocoa so you can answer like I'm not a newbie.
Thanx in advance.
SD
--
==========================================
SD
WARNING: Programming may be habit forming.
_______________________________________________
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