存储模型时 的问题

1.用数组存储是让表情有顺序

以下代码传入一个表情模型 就会创建一个数组来保存  数组长度永远是1

当初NSKeyedArchiver进去的是什么数据类型 NSkeyedUnarchiver 出来就是什么数据类型

#define HWRecentEmotionsPath [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject] stringByAppendingPathComponent:@"emotions.archive"]

原文地址:https://www.cnblogs.com/seeworld/p/6698323.html