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

NextPrevUpTopContentsIndex

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 type

FLI type descriptor

Helper function to set the slots

NSRect

ns-rect

set-ns-rect*

NSPoint

ns-point

set-ns-point*

NSSize

ns-size

set-ns-size*

NSRange

ns-range

set-ns-range*


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 15 Feb 2015

NextPrevUpTopContentsIndex