I've fixed ARC issue that prevented this from compiling. Made stringForKey: return nil when there is no cache for key, so that its consistent with dataForKey: and objectForKey: behaviours. Also added a method that I needed - which removes all caches for keys that begin with string. Hope you like it.
I've fixed ARC issue that prevented this from compiling. Made
stringForKey:
returnnil
when there is no cache for key, so that its consistent withdataForKey:
andobjectForKey:
behaviours. Also added a method that I needed - which removes all caches for keys that begin with string. Hope you like it.