Contents (package MULK.OBJECTIVE-CL)

Constant Variable +NIL+


The Objective-C constant value nil.

Value Type:

an object of type id.


+nil+ is the constant corresponding to the Objective-C nil value.

+nil+ is not a value that any method invocation should return. Whenever nil is returned by an Objective-C invocation, It is the job of Objective-CL to convert it to nil. Similarly, null arguments are converted to nil automatically. Still, there may be occasions in which it is useful to have nil as an id instance. Therefore, it is provided here.

Note that, in the general case, nil is not necessarily equal to NULL.