No travel planning application would be complete without providing the user with a few suggested itineraries. You’ll need to create a window so the Moon Travel Planner application can display an itinerary of suggested activities for the moon tourist. Figure 2.5 shows an idea for one itinerary. You’ll use a plain document window to display the contents of itinerary files provided with the Moon Travel Planner application.
The itinerary window opens when the user chooses an itinerary file from Open Itinerary under the File menu. It closes when the user clicks the Close button or chooses Close from the File menu. The user should save the itinerary under a new name.
Everything you need to implement for the itinerary window is described later, in Chapter 11. In Interface Builder, you’ll need to:
Create an itinerary window in a new Interface Builder file.
In Project Builder, you’ll need to:
Write functions to create the window from the Interface Builder file and dispose of it when it is no longer needed.
Write functions to allow the user to open and close an itinerary file and to save the file under a different name.
You won’t need to write code to minimize the window. The operating system takes care of that.