Samond Classes Library 1.2.6-STABLE build 219
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:
 
(instancetype) + nullWithData:
 
(instancetype) + nullWithContentsOfFile:
 
(instancetype) + nullWithContentsOfURL:
 
(instancetype) + nullWithContentsOfURLString:
 

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) nullWithContentsOfFile: (NSString *)  path

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

Parameters
path- the path to the source file
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) nullWithContentsOfURL: (NSURL *)  url

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

Parameters
url- the source URL
Returns
A created class instance
+ (instancetype) nullWithContentsOfURLString: (NSString *)  urlString

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

Parameters
urlString- the source URL string
Returns
A newly initialized class instance
+ (instancetype) nullWithData: (NSData *)  data

Returns a class instance created by using the specified data object.

Parameters
data- the source data object
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: