Samond Classes Library 1.2.1-RELEASE build 181
List of all members
NSNull(SCNull) Category Reference

Standard class NSNull functionality extending category. More...

#import <NSNull+SCNull.h>

Creating Class Instances

(instancetype) + nullWithCoder:
 
(instancetype) + nullWithContentsOfSerializedFile:
 
(instancetype) + nullWithDataDictionary:
 
(instancetype) + nullWithDataDictionaryFromFile:
 
(instancetype) + nullWithStream:
 
(instancetype) + nullWithFileStream:
 

Detailed Description

Standard class NSNull functionality extending category.

SDK
macOS 10.6+, iOS 7.0+, GNUstep
Since
version 1.1.3

Declares the additional methods for add into the standard class NSNull the enhanced functionality.

Method Documentation

+ (instancetype) nullWithCoder: (NSCoder *)  coder

Returns a class instance created by using the data from the specified coder.

Parameters
coder- the source coder
Returns
A created class instance
+ (instancetype) nullWithContentsOfSerializedFile: (NSString *)  path

Returns a class instance created by using the data from the serialized file with the specified path.

Parameters
path- the path to the serialized file
Returns
A created class instance
+ (instancetype) nullWithDataDictionary: (NSDictionary *)  dictionary

Returns a class instance created by using the data from the specified data dictionary.

Parameters
dictionary- the source data dictionary
Returns
A created class instance
+ (instancetype) nullWithDataDictionaryFromFile: (NSString *)  path

Returns a class instance created by using the data from the dictionary file with the specified path.

Parameters
path- the path to the source dictionary file
Returns
A created class instance
+ (instancetype) nullWithFileStream: (NSString *)  path

Returns a class instance created by using the data from the file stream with the specified path.

Parameters
path- the path to the source file stream
Returns
A created class instance
Exceptions
SCStreamException- stream error detected
SCSystemException- system error detected
+ (instancetype) nullWithStream: (SCStream *)  stream

Returns a class instance created by using the data from the specified stream.

Parameters
stream- the source stream
Returns
A created class instance
Exceptions
SCStreamException- stream error detected
SCSystemException- system error detected

The documentation for this category was generated from the following files: