Next Page > Hide TOC

NSNull Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/Foundation.framework
Availability
Available in Mac OS X v10.0 and later.
Companion guide
Declared in
NSNull.h
Related sample code

Overview

The NSNull class defines a singleton object used to represent null values in collection objects (which don’t allow nil values).

Adopted Protocols

NSCoding
NSCopying

Tasks

Obtaining an Instance

Class Methods

null

Returns the singleton instance of NSNull.

+ (NSNull *)null

Return Value

The singleton instance of NSNull.

Availability
Related Sample Code
Declared In
NSNull.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.