Request for Guidance
Request for Guidance
- Subject: Request for Guidance
- From: Terry_Smyth <email@hidden>
- Date: Thu, 5 Sep 2002 12:45:42 +0100
Dear all,
As a newcomer to cocoa development I'd love to get some feedback on
whether I'm using the right approach for a new app I am writing.
Hopefully, his will help me avoid spending too long going down the wrong
track. My level of cocoa experience is minimal ie "read the book, done
some tutorial examples, browsed the documentation".
The app is basically a configuration utility for viewing and changing
various bits of proprietary data (which is held in files, and accessed
independently by a separate tool). Because the data to be
configured/viewed falls neatly into a number of distinct categories, it
would seem nice to have a UI which is similar to the System
Preferences - ie a row of buttons, each of which swaps in a separate
configuration interface. This seems a logical choice to me, but feel
free to suggest alternatives.
My main question is what is the best way to implement this swapping of
panes? I'm thinking of having a number of overlayed NSViews (custom view
from IB pallette?), only one of which is visible at a time. Clicking a
button hides the current NSView and shows the requested one (using
removeFromSuperview and addSubview), with resizing of the main window if
required. Does this sound like a valid approach? Presumably hiding an
NSView also hides all its subviews? Does anyone know of any sample code
which does this sort of thing?
Any help/ suggestions greatly appreciated,
Thanks,
Terry Smyth
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.