All Manuals > Release Notes and Installation Guide > 12 Release Notes

12.11 Objective-C changes

This section applies only to Macintosh and iOS platforms. See the LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual for details.

12.11.1 objc:can-invoke-p can now be used with the result of current-super

The function objc:can-invoke-p can now be called with the result of objc:current-super in an Objective-C method implementation to see if the superclass implements a method.

12.11.2 objc:objc-bool on Macs based on Apple silicon

On Macs based on Apple silicon, the Objective-C BOOL type is the C99 _Bool type, whereas on Intel-based Macs it is a signed byte. The effect of this change is limited, but you may need to add extra Foreign Language Interface templates to your application if you have any that use the FLI type objc:objc-bool. See 10.6.1 Foreign Language Interface templates in the Delivery User Guide for details of how to do this.

12.11.3 The :darwin-lw-objc foreign module has been removed

If you call objc:ensure-objc-initialized explicitly when initializing your application, then you should not include :darwin-lw-objc in the list supplied to the :modules argument in LispWorks 8.0. Previous releases needed this foreign module in applications that use the CAPI, but the module has been removed and written in Lisp.


Release Notes and Installation Guide - 01 Dec 2021 19:38:49