DekGenius.com
[ Team LiB ] Previous Section Next Section

NSNull Mac OS X 10.0

This simple class represents a NULL value as an object. The utility of this is that an instance of NSNull can be added to any of the Foundation collections, which don't provide for the inclusion of nil. To create an instance of NSNull, simply use the class method null.

figs/cocn_1370.gif

@interface NSNull : NSObject
 // Convenience Constructors
   + (NSNull *)null;

    [ Team LiB ] Previous Section Next Section