All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual

5 Self-contained examples

This chapter enumerates the set of examples in the LispWorks library relevant to the content of this manual. Each example file contains complete, self-contained code and detailed comments, which include one or more entry points near the start of the file which you can run to start the program.

To run the example code:

  1. Open the file in the Editor tool in the LispWorks IDE. Evaluating the call to example-edit-file shown below will achieve this.
  2. Compile the example code, by Ctrl+Shift+B.
  3. Place the cursor at the end of the entry point form and press Ctrl+X Ctrl+E to run it.
  4. Read the comment at the top of the file, which may contain further instructions on how to interact with the example.

5.1 Example definitions

5.2 Displaying Cocoa classes in CAPI windows

5.3 nib file example


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:34