Skip to content

Instantly share code, notes, and snippets.

@fitomad

fitomad/nscache_get.swift Secret

Created May 28, 2019
Embed
What would you like to do?
/// Recuperamos un objeto de la cache
public subscript(key: String) -> Data?
{
let theKey = key as NSString
return self.cache.object(forKey: theKey) as Data?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment