A string naming the protocol to define.
A list of class method specifications.
define-objc-protocol defines an Objective-C formal protocol named by name for use in the
:objc-class-protocols option of define-objc-class.
If incorporated-protocols is specified, it should be a list of already defined formal protocol names. These protocols are registered as being incorporated within name. The default is for no protocols to be incorporated.
If instance-methods or class-methods are specified, they define the instance and class methods respectively in the protocol. Each should give a list of method specifications, which are lists of the form:
A string naming the method. The name should be a concatenation of the message name and its argument names, including the colons, for example
The Objective-C FLI type that the method returns.
The Objective-C FLI type of the corresponding argument of the method.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 15 Feb 2015