Re: Building a Setup Assistant
Re: Building a Setup Assistant
- Subject: Re: Building a Setup Assistant
- From: Jens Alfke <email@hidden>
- Date: Sat, 28 Jun 2008 16:34:36 -0700
On 28 Jun '08, at 2:15 PM, Christopher Keath wrote:
Do I want to try and do this with only 1 window object, and have
each stage simply load a new view? Or do I want a new nib for each
step?
The best way to do an assistant UI is with an NSTabView. Put each step
inside a separate tab, and set the tab view to hide the tabs. Wire the
"Next" and "Previous" buttons to the tab view's -
selectNextTabViewItem: and -selectPrevTabViewItem: actions.
(Once you hide the tabs in IB, you may wonder how you get to the
different views to edit their contents. If you select the tab view
itself, its attributes inspector pane has a stepper control to select
the different items. Or you can use the outline view of the nib and
expand the tab view to see the different items; then you can double-
click them.)
—Jens_______________________________________________
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