Changes between Version 11 and Version 12 of AppleCurrencyConverterBuildingUserInterfaceWithTiger

Jan 19, 2008, 4:51:38 PM (12 years ago)



  • AppleCurrencyConverterBuildingUserInterfaceWithTiger

    v11 v12  
    2323The intial window and menubar also appear on the screen. The new application's name appears in the menus as "!NewApplication". Save the new nibfile into the "currency-converter" folder that you created earlier (on [AppleCurrencyConverterMakingaProject this] page). Give the new file the name "!CurrencyConverter.nib"
     25  '''NOTE:''' Most Objective-C application projects use a main nibfile called "!MainMenu.nib", and if you use XCode to create a new application project, it creates a nibfile with that name. Apple's Currency Converter tutorial assumes that the name of the main nibfile is "!MainMenu.nib".
     27  So, why do we tell you to use a different name? Clozure CL has a main nibfile built into it, whose name is "!MainMenu.nib". Normally you don't see it, and don't even need to know that it exists. But the Clozure CL application-building tools create a new application by copying resources from the Clozure CL application, so that your new application has available to it all the built-in Clozure CL tools. We ask you to name your nibfile "!CurrencyConverter.nib" so that it can coexist with the Clozure CL main nibfile without causing any problems.
     29  This difference between a Lisp project and an Objective-C project might be a little confusing at first. Just try to keep in mind that whenever Apple's tutorial refers to the "!MainMenu.nib" file, it means the file we have just created and named "!CurrencyConverter.nib". In a Clozure CL project, "!MainMenu.nib" is the name of the main Lisp nibfile, not your application's main nibfile.
    2533[AppleCurrencyConverter Start] [AppleCurrencyConverterBuildingUserInterface Previous]