Re: Building a Setup Assistant
On Jun 29, 2008, at 1:35 AM, David Wilson wrote: On Sat, Jun 28, 2008 at 11:00 PM, Andy Lee <[EMAIL PROTECTED]> wrote: And remember that the last tab you had open when you save the nib is the one that will be open when the nib is loaded. I often forget this when I go in to tweak something. Better yet, remember that there's an option in the tab view's inspector to specify a specific tab to be the default, regardless of what you've been looking at in IB. Ooh! Thanks! --Andy ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Building a Setup Assistant
On Sat, Jun 28, 2008 at 11:00 PM, Andy Lee <[EMAIL PROTECTED]> wrote: > And remember that the last tab you had open when you save the nib is the one > that will be open when the nib is loaded. I often forget this when I go in > to tweak something. Better yet, remember that there's an option in the tab view's inspector to specify a specific tab to be the default, regardless of what you've been looking at in IB. -- - David T. Wilson [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
RE: Building a Setup Assistant
NSViewController will hanfle view swapping stylishly. The oreily book is really outdated. Read Hillegas' instead. I'd link you but I am writing this on my phone. -Original Message- From: Christopher Keath <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2008 2:14 PM To: cocoa-dev@lists.apple.com Subject: Building a Setup Assistant > > For the life of me, I just don't know where to begin on this > seemingly simple project, which is basically my first Xcode project. > > Quite specifically, I can't seem to figure out how to setup the > 'Next' button that would step you thru each stage of the process. > All I want to do is collect some text based info that I will write > out to a plist. But this process will involve about 10 windows that > ask various questions, and later windows will need access to info > entered in earlier windows. KInd of like the registration apps that > launch after an application installs. > > I have read through Cocoa with Objective C (the O'Reilly book) but > there is nothing about having non-document based apps with more then > 1 window. I have looked thru the examples as well, but none seem to > follow this format. > > I'm especially having trouble with the fact that I am using XCode 3, > and it looks nothing like the examples in the book - for the life of > me I can't figure out where the Classes Menu went, and I can't find > the Instantiate command that will make the header files and so forth > in Xcode based on what I do in IB. > > So anyway - > 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? > In either case, I have no idea where to begin. I can add my initial > text box that will hold my Welcome message, and I can add the 'Next' > button, all to the Window, but have no idea where to go from > there Do I need some kind of custom class for this? Where do I > overwrite the default latin text that is in my box? Can window have > multiple views that are mutually exclusive? or do I need to load a > new nib for each window? How do you load a new nib? How do you take > the old one off? > > Should I be trying to use core data for this? I messed with that for > a while but for the life of me could not figure out how to attach > the data objects I made in the Core Data part of XCode to fields in > IB. > > I can do the table view stuff from the book too, to get and write > the data I want for each window, but structurally, I'm not sure how > to setup a series of windows that would all have access to that > data, or even how to load the next window. > > I know it's a very basic question, but I would really appreciate the > help. > > THANKS! > > Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/omar%40hellogalaxy.com This email sent to [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Building a Setup Assistant
On Jun 28, 2008, at 7:34 PM, Jens Alfke wrote: (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.) And remember that the last tab you had open when you save the nib is the one that will be open when the nib is loaded. I often forget this when I go in to tweak something. --Andy ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Building a Setup Assistant
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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Building a Setup Assistant
I'm a relative newbie to cocoa but I found this interesting tidbit when looking at core animation - how to build a wizard dialog using core animation http://www.cimgf.com/2008/03/03/core-animation-tutorial-wizard-dialog-with-transitions/ I hope this helps Richard On Jun 28, 2008, at 10:15 PM, Christopher Keath wrote: For the life of me, I just don't know where to begin on this seemingly simple project, which is basically my first Xcode project. Quite specifically, I can't seem to figure out how to setup the 'Next' button that would step you thru each stage of the process. All I want to do is collect some text based info that I will write out to a plist. But this process will involve about 10 windows that ask various questions, and later windows will need access to info entered in earlier windows. KInd of like the registration apps that launch after an application installs. I have read through Cocoa with Objective C (the O'Reilly book) but there is nothing about having non-document based apps with more then 1 window. I have looked thru the examples as well, but none seem to follow this format. I'm especially having trouble with the fact that I am using XCode 3, and it looks nothing like the examples in the book - for the life of me I can't figure out where the Classes Menu went, and I can't find the Instantiate command that will make the header files and so forth in Xcode based on what I do in IB. So anyway - 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? In either case, I have no idea where to begin. I can add my initial text box that will hold my Welcome message, and I can add the 'Next' button, all to the Window, but have no idea where to go from there Do I need some kind of custom class for this? Where do I overwrite the default latin text that is in my box? Can window have multiple views that are mutually exclusive? or do I need to load a new nib for each window? How do you load a new nib? How do you take the old one off? Should I be trying to use core data for this? I messed with that for a while but for the life of me could not figure out how to attach the data objects I made in the Core Data part of XCode to fields in IB. I can do the table view stuff from the book too, to get and write the data I want for each window, but structurally, I'm not sure how to setup a series of windows that would all have access to that data, or even how to load the next window. I know it's a very basic question, but I would really appreciate the help. THANKS! Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev.aml%40slayford.com This email sent to [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Building a Setup Assistant
For the life of me, I just don't know where to begin on this seemingly simple project, which is basically my first Xcode project. Quite specifically, I can't seem to figure out how to setup the 'Next' button that would step you thru each stage of the process. All I want to do is collect some text based info that I will write out to a plist. But this process will involve about 10 windows that ask various questions, and later windows will need access to info entered in earlier windows. KInd of like the registration apps that launch after an application installs. I have read through Cocoa with Objective C (the O'Reilly book) but there is nothing about having non-document based apps with more then 1 window. I have looked thru the examples as well, but none seem to follow this format. I'm especially having trouble with the fact that I am using XCode 3, and it looks nothing like the examples in the book - for the life of me I can't figure out where the Classes Menu went, and I can't find the Instantiate command that will make the header files and so forth in Xcode based on what I do in IB. So anyway - 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? In either case, I have no idea where to begin. I can add my initial text box that will hold my Welcome message, and I can add the 'Next' button, all to the Window, but have no idea where to go from there Do I need some kind of custom class for this? Where do I overwrite the default latin text that is in my box? Can window have multiple views that are mutually exclusive? or do I need to load a new nib for each window? How do you load a new nib? How do you take the old one off? Should I be trying to use core data for this? I messed with that for a while but for the life of me could not figure out how to attach the data objects I made in the Core Data part of XCode to fields in IB. I can do the table view stuff from the book too, to get and write the data I want for each window, but structurally, I'm not sure how to setup a series of windows that would all have access to that data, or even how to load the next window. I know it's a very basic question, but I would really appreciate the help. THANKS! Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]