error: writeToFile写入不成功/无法写入的原因
[cacheDic writeToFile:cacheURL atomically:YES];
后却返回no,查阅手册发现:
If an array or dictionary contains objects that are not property-list objects, then you cannot save and restore the hierarchy of data using the various property-list methods and functions.
分析:
- 也就说要存的不能为你自定义的对象,也不能是null
- 服务器返回数据中含有数个null
fix - BUG: OC暂时无法解决,在线解析数据