学习Apple的官方文档后,我感觉他俩的用途都是实现对象和序列化之间的转换,那他们俩的区别在哪里?
NSData contains a bunch of bytes. This class is used for more than just serialization.
NSCoder series is specially used for serialization
NSData contains a bunch of bytes. This class is used for more than just serialization.
NSCoder series is specially used for serialization