|
Samond Classes Library 1.1.6-RELEASE build 132
|
Data exchange with NSDictionary and NSMutableDictionary classes. More...
#import <SCDictionaryObjectProtocol.h>
Public Member Functions | |
| (id) | - initWithDataDictionary: |
| (id) | - initWithDataDictionaryFromFile: |
| (void) | - writeToDataDictionary: |
| (void) | - writeToDataDictionaryFile:atomically: |
| (void) | - writeToDataDictionaryFile: |
| (NSDictionary *) | - dataDictionary |
| (NSString *) | - className |
Data exchange with NSDictionary and NSMutableDictionary classes.
Protocol declares methods for data reading from and writing to NSDictionary and NSMutableDictionary classes instances. Also protocol declares methods for initializing objects from dictionaries and property lists.
Protocol was introduced in version 1.1.3.
| - (NSString *) className |
| - (NSDictionary *) dataDictionary |
Returns the dictionary with the receiver's data.
Reimplemented in SCObject.
| - (id) initWithDataDictionary: | (NSDictionary *) | dictionary |
Initializes the class instance using the specified dictionary.
| dictionary | - source dictionary |
Reimplemented in SCObject.
| - (id) initWithDataDictionaryFromFile: | (NSString *) | path |
Initializes the class instance using the dictionary from the specified file.
| path | - source dictionary file path |
Reimplemented in SCObject.
| - (void) writeToDataDictionary: | (NSMutableDictionary *) | dictionary |
Writes the receiver's data into the specified dictionary.
| dictionary | - destination dictionary |
Reimplemented in SCObject.
| - (void) writeToDataDictionaryFile: | (NSString *) | path |
Atomically writes the receiver's data into the dictionary file with the specified path.
| path | - path at which to write the file |
Reimplemented in SCObject.
| - (void) writeToDataDictionaryFile: | (NSString *) | path | |
| atomically: | (BOOL) | atomically | |
Writes the receiver's data into the dictionary file with the specified path.
| path | - path at which to write the file |
| atomically | - YES for writing data to an auxiliary file, and then the auxiliary file is renamed to path, NO for writing data directly to path |
Reimplemented in SCObject.
1.7.3