I\'m writing an app that needs to keep an in-memory cache of a bunch of objects, but that doesn\'t get out of hand so I\'m planning on using NSCache to store it all. Looks l
You should try AwesomeCache. Its main features:
Example:
do {
let cache = try Cache(name: "awesomeCache")
cache["name"] = "Alex"
let name = cache["name"]
cache["name"] = nil
} catch _ {
print("Something went wrong :(")
}