Changes between Version 12 and Version 13 of AppleCurrencyConverter


Ignore:
Timestamp:
Jan 18, 2008, 6:29:56 PM (12 years ago)
Author:
mikel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppleCurrencyConverter

    v12 v13  
    1313
    1414In some ways, the Lisp version of the example is simpler than the Objective C example, but the basic concepts are the same. In particular, the Lisp example follows the same [http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/02Essence/chapter_2_section_4.html#//apple_ref/doc/uid/TP40000863-CH3-DontLinkElementID_6 Model-View-Controller paradigm] that the Apple tutorial uses. If you are new to Cocoa programming, or if you are not familiar with how it uses the Model-View-Controller paradigm, it's probably a good idea to read through the Apple example in full, paying special attention to the Model-View-Controller section. Once you've done that, keep the Apple pages handy in a window for easy reference.
     15
     16This Common Lisp version of the Currency Converter example uses Apple's !InterfaceBuilder application to build a window and main menu, and then uses Common Lisp code to load and operate that user interface. The Common Lisp code relies on OpenMCL's Objective-C bridge to provide communication between the running Lisp code and Apple's Cocoa frameworks. Once the code is complete, we use the BUILD-APPLICATION function to save a working Cocoa application bundle. The resulting bundle looks and acts just like any other Cocoa application.
     17
     18