ZXKVStoreiOS 键值存储
ZXKVStore 是一个简单易用的键值数据存储。
使用:
println(ZXKV["homepage"]) //nil
ZXKV["homepage"] = "http://www.zhangxi.me" // store a value to the key
println(ZXKV["homepage"]) //http://www.zhangxi.me
let array = ["abc","123"]
ZXKV["array"] = array
println(ZXKV["array"]) //["abc","123"]
//any object which implemented NSCoding can be stored.
评论
