LispWorks Delivery User Guide > 6 Delivery on Mac OS X

NextPrevUpTopContentsIndex

6.5 File associations for a Macintosh application

To create an assocation between your LispWorks for Macintosh application and files with a specified type (file extension):

  1. Create the appropriate entries for the file type in the CFBundleDocumentTypes array within the Info.plist file of the delivered application.
  2. Define a subclass of capi:cocoa-default-application-interface with a message-callback .
  3. Implement the :open-file message in the message-callback function.
  4. Set the application interface on startup.

Also see the examples in

examples/delivery/macos/simple-application.lisp and examples/delivery/macos/full-application.lisp .


LispWorks Delivery User Guide - 22 Dec 2009

NextPrevUpTopContentsIndex