objective-c - NSCoder 和 NSData 的区别在哪里?
仅有的幸福
仅有的幸福 2017-04-28 09:05:27
0
1
830

学习Apple的官方文档后,我感觉他俩的用途都是实现对象和序列化之间的转换,那他们俩的区别在哪里?

仅有的幸福
仅有的幸福

reply all(1)
PHPzhong

NSData contains a bunch of bytes. This class is used for more than just serialization.

NSCoder series is specially used for serialization

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template