NextPrevUpTopContentsIndex

current-super

Local Macro
Summary

Allows Objective-C methods to invoke their superclass's methods.

Package

objc

Signature

current-super => super-value

Values

super-value

An opaque value.

Description

The local macro current-super returns a value which can be passed to invoke to call a method in the superclass of the current method definition (like super in Objective-C). When used within a define-objc-method form, instance methods in the superclass are invoked and when used within a define-objc-class-method form, class methods are invoked. The super-value has dynamic extent and it is an error to use current-super in any other contexts.

Example
See also

define-objc-method
define-objc-class-method
invoke


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 9 Mar 2006

NextPrevUpTopContentsIndex