• 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
Changing control layouts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Changing control layouts
      • From: Guy English <email@hidden>
  • Prev by Date: RE: Saving NSObjectController info
  • Next by Date: Re: Saving NSObjectController info
  • Previous by thread: [ANN] Apple WWDC 2005, Jun 6-10 in San Francisco.
  • Next by thread: Re: Changing control layouts
  • Index(es):
    • Date
    • Thread