Protocol: NSCoding
Overview
The NSCoding protocol declares the two methods that a class must implement so that instances of that class can be encoded and decoded. This capability provides the basis for archiving (where objects and other structures are stored on disk) and distribution (where objects are copied to different address spaces).Encodes the receiver using a given archiver. (required)Returns an object initialized from data in a given unarchiver. (required)
Instance Method Summary (collapse)
-
- encodeWithCoder:
Encodes the receiver using a given archiver.
-
- initWithCoder:
Returns an object initialized from data in a given unarchiver.