EasyStash
EasyStash copied to clipboard
If key is a url can not load from file
The key is a url like
"http://www.x.com/a.zip",
then can not save data like a string "xxx", and can not load by key, while from file load.
let key = "http://aaa.x.com/a.zip"
try storage?.save(object: "xxx", forKey: key)
let zipDir: String? = try storage?.load(forKey: key, as: String.self)
I use md5 to fix this in my app, but EasyStash still have this problem.