O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSObjCTypeSerializationCallBack — Mac OS X 10.0

Synopsis

This protocol is adopted by classes that wish to intervene in serialization and deserialization operations. It is obsolete and has been deprecated.

@protocol NSObjCTypeSerializationCallBack
                                  // Instance Methods
   - (void)serializeObjectAt:(id *)object 
                                 ofObjCType:(const char *)type 
                                 intoData:(NSMutableData *)data;
   - (void)deserializeObjectAt:(id *)object 
                                 ofObjCType:(const char *)type 
                                 fromData:(NSData *)data
                                 atCursor:(unsigned *)cursor;
@end

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required