Standard class NSNull functionality extending category.
More...
#import <NSNull+SCNull.h>
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.
+ (instancetype) nullWithCoder: |
|
(NSCoder *) |
coder |
|
Returns a class instance created by using the data from the specified coder.
- Parameters
-
- 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
-
- 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
-
+ (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
-
The documentation for this category was generated from the following files: