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