Samond Classes Library 1.2.6-STABLE build 219
|
Data objects communications protocol. More...
#import <SCDating.h>
Instance Properties | |
NSString * | className |
Interaction with Data Objects | |
(instancetype) | - initWithData: |
(instancetype) | - initWithDataWrapper: |
(instancetype) | - initWithContentsOfFile: |
(instancetype) | - initWithContentsOfURL: |
(instancetype) | - initWithContentsOfURLString: |
(void) | - writeToData: |
(BOOL) | - writeToFile: |
(BOOL) | - writeToURL: |
(BOOL) | - writeToURLString: |
(NSData *) | - data |
Data objects communications protocol.
Declares methods for communicate between class instances and data objects.
Defined by the protocol methods support based operations such are writing class instances into the data objects and reading and initializing class instances from the data objects.
- (NSData *) data |
Returns the data object with the receiving class instance.
Reimplemented in NSObject(SCObject).
- (instancetype) initWithContentsOfFile: | (NSString *) | path |
Initializes a class instance using the data from the file with the specified path.
path | - the path to the source file |
Reimplemented in NSObject(SCObject).
- (instancetype) initWithContentsOfURL: | (NSURL *) | url |
Initializes a class instance using the data from the specified URL.
url | - the source URL |
Reimplemented in NSObject(SCObject).
- (instancetype) initWithContentsOfURLString: | (NSString *) | urlString |
Initializes a class instance using the data from the specified URL string.
urlString | - the source URL string |
Reimplemented in NSObject(SCObject).
- (instancetype) initWithData: | (NSData *) | data |
Initializes a class instance using the specified data object.
data | - the source data object |
Reimplemented in NSObject(SCObject).
- (instancetype) initWithDataWrapper: | (SCData *) | data |
Initializes a class instance using the specified data object wrapper.
data | - the data object wrapper |
Reimplemented in NSObject(SCObject).
- (void) writeToData: | (NSMutableData *) | data |
Writes the receiving class instance into the specified data object.
data | - the destination data object |
Reimplemented in NSObject(SCObject).
- (BOOL) writeToFile: | (NSString *) | path |
Writes the receiving class instance into the file with the specified path.
path | - the path of the destination file |
Reimplemented in NSObject(SCObject).
- (BOOL) writeToURL: | (NSURL *) | url |
Writes the receiving class instance into the specified URL.
url | - the destination URL |
Reimplemented in NSObject(SCObject).
- (BOOL) writeToURLString: | (NSString *) | urlString |
Writes the receiving class instance into the specified URL string.
urlString | - the destination URL string |
Reimplemented in NSObject(SCObject).
|
readnonatomiccopy |
A name of the receiving instance class