Samond Classes Library 1.2.0-RELEASE build 166
List of all members
<SCCoding> Protocol Reference

Standard protocol NSCoding extention protocol. More...

#import <SCCoding.h>

Inheritance diagram for <SCCoding>:
NSArray(SCNSArray) NSDate(SCDate) NSDictionary(SCNSDictionary) NSMutableArray(SCNSMutableArray) NSMutableDictionary(SCNSMutableDictionary) NSMutableOrderedSet(SCNSMutableOrderedSet) NSMutableSet(SCNSMutableSet) NSNull(SCNull) NSNumber(SCNumber) NSOrderedSet(SCNSOrderedSet) NSSet(SCNSSet) NSString(SCString) SCObject

Serialized Files Support

(id) - initWithContentsOfSerializedFile:
 
(BOOL) - writeContentsToSerializedFile:
 
(NSString *) - className
 

Detailed Description

Standard protocol NSCoding extention protocol.

Since
version 1.1.3

Extends functionality of the standard protocol NSCoding by adding advanced methods for direct access to the serialized files.

Method Documentation

- (NSString *) className

Returns the name of the receiving instance class.

Returns
A class name

Reimplemented in SCObject.

- (id) initWithContentsOfSerializedFile: (NSString *)  path

Initializes a class instance by using the content of the serialized file with the specified path.

Parameters
path- the path to the source serialized file
Returns
A newly initialized class instance

Reimplemented in NSString(SCString), NSOrderedSet(SCNSOrderedSet), NSArray(SCNSArray), NSDictionary(SCNSDictionary), NSSet(SCNSSet), NSNull(SCNull), NSDate(SCDate), NSNumber(SCNumber), and SCObject.

- (BOOL) writeContentsToSerializedFile: (NSString *)  path

Writes the receiving class instance into the serialized file with the specified path.

Parameters
path- the path to the serialized file
Returns
YES if the operation is successfully complited, otherwise NO

Reimplemented in NSString(SCString), NSOrderedSet(SCNSOrderedSet), NSArray(SCNSArray), NSDictionary(SCNSDictionary), NSSet(SCNSSet), NSNull(SCNull), NSDate(SCDate), NSNumber(SCNumber), and SCObject.


The documentation for this protocol was generated from the following file: