Changing control layouts
Changing control layouts
- Subject: Changing control layouts
- From: Mark Dawson <email@hidden>
- Date: Tue, 15 Feb 2005 23:52:53 -0800
I have an inspector for my objects, allowing the user to edit the
object's properties. I want each object's inspector "pane" to show
just its properties (not all of them, with the ones that don't apply
dimmed), as I feel showing all really clutters the user experience.
My question:
Is it preferable in Cocoa to programatically hide, show, and possibly
move controls (and their static text titles), depending on the object
selected, OR create separate nibs for each object, and add or delete
them from the inspector view, as applicable? I have about 10 different
properties between all the objects. I would lean towards creating the
nibs, as programatically dealing with the changes would seem to be
prone to error and maintenance issues., while the nib approach is a
one-time setup issue (along with the switching code). However, I've
never tried something like this, so I don't know if my impressions of
what needs to be done are correct…
Thanks,
mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden