Standard class NSData functionality extending category.
More...
#import <NSData+SCData.h>
Standard class NSData functionality extending category.
- SDK
- macOS 10.6+, iOS 7.0+, GNUstep
- Since
- version 1.2.1
Implements the additional methods for add into the standard class NSData the enhanced functionality.
+ (instancetype) dataWithCoder: |
|
(NSCoder *) |
coder |
|
Returns a class instance created by using the data from the specified coder.
- Parameters
-
- Returns
- A created class instance
+ (instancetype) dataWithContentsOfSerializedFile: |
|
(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) dataWithContentsOfURLString: |
|
(NSString *) |
urlString |
|
Returns a class instance created by using the data from the URL with the specified string.
- Parameters
-
urlString | - the string of the source URL |
- Returns
- A created class instance
+ (instancetype) dataWithDataDictionary: |
|
(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) dataWithDataDictionaryFromFile: |
|
(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) dataWithFileStream: |
|
(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) dataWithStream: |
|
(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: