API 0.9.5
CPNull Class Reference

An object representation of nil. More...

#import <CPNull.h>

Inheritance diagram for CPNull:

List of all members.

Instance Methods

(void) - encodeWithCoder:
(id) - initWithCoder:
(BOOL) - isEqual:
(id) - valueForKey:

Class Methods

(CPNull+ null

Detailed Description

An object representation of nil.

This class is used as an object representation of nil. This is handy when a collection only accepts objects as values, but you would like a nil representation in there.

Definition at line 273 of file CPKeyValueCoding.j.


Method Documentation

- (void) encodeWithCoder: (CPCoder aCoder

Writes out nothing to the specified coder.

Parameters:
aCoderthe coder to which nothing will be written

Definition at line 83 of file CPNull.j.

- (id) initWithCoder: (CPCoder aCoder

Returns CPNull null.

Parameters:
aCoderthe coder from which to do nothing
Returns:
[CPNull null]

Definition at line 73 of file CPNull.j.

- (BOOL) isEqual: (id)  anObject

Definition at line 60 of file CPNull.j.

+ (CPNull) null

Returns the singleton instance of the CPNull object. While CPNull and nil should be interpreted as the same, they are not equal ('==').

Definition at line 52 of file CPNull.j.

- (id) valueForKey: (CPString aKey

Reimplemented from CPObject.

Definition at line 275 of file CPKeyValueCoding.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines