• 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
Building a Setup Assistant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a Setup Assistant


  • Subject: Building a Setup Assistant
  • From: Christopher Keath <email@hidden>
  • Date: Sat, 28 Jun 2008 14:15:50 -0700


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 (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


  • Follow-Ups:
    • Re: Building a Setup Assistant
      • From: Jens Alfke <email@hidden>
    • Re: Building a Setup Assistant
      • From: Richard Adams <email@hidden>
  • Prev by Date: Re: Using isMemberOfClass with a tree of subclass of NSManagedObject
  • Next by Date: Determining general type of a file (image, text, sound, etc...)
  • Previous by thread: Re: List of Indexed Accessor Names for NSMutableArray
  • Next by thread: Re: Building a Setup Assistant
  • Index(es):
    • Date
    • Thread