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

3.2 Types

There are four commonly used structure types in Cocoa that have equivalents in the Objective-C interface. In addition, each one has a helper function that will set its slots.

Cocoa structure types and helper functions
Objective-C typeFLI type descriptorHelper function to set the slots

NSRect

cocoa:ns-rect

cocoa:set-ns-rect*

NSPoint

cocoa:ns-point

cocoa:set-ns-point*

NSSize

cocoa:ns-size

cocoa:set-ns-size*

NSRange

cocoa:ns-range

cocoa:set-ns-range*


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