Changes between Initial Version and Version 1 of Cocoa

Mar 30, 2008, 1:11:13 AM (12 years ago)



  • Cocoa

    v1 v1  
     1= CCL and Cocoa =
     3  Cocoa is Apple's name for the collection of frameworks, APIs, and accompanying runtimes that make up the development layer of Mac OS X. ![...]
     5  The Cocoa frameworks are primarily written in Objective-C, and support both 32-bit and 64-bit applications as well as Objective-C 2.0's garbage collection, although there are a few components written in other languages such as C for performance or compatibility reasons, such as Core Foundation. ![...]
     7  (from
     9CCL includes an Objective-C bridge that provides Lisp programs with complete access to the Cocoa frameworks.
     11== Sample Code ==
     12CocoaBridge contains an example of how to create a window and draw into it.
     14GradientWindow builds on that example, and demonstrates the non-trivial use of CCL's foreign-function interface.
     16The main Cocoa framework contains Foundation, Application Kit (!AppKit), and Core Data.  Other frameworks (such as Address Book and Web Kit) can be easily loaded into CCL as well.  AddressBook presents some sample code that loads the Address Book framework and performs a simple search.
     18AppleCurrencyConverter shows how to use CCL to create a double-clickable application that is functionally identical to [  Apple's own Currency Converter example].