Use NSCache instead of dictionary is good idea for sensitive data?

I have to store sensitive data in the dictionary but they are really expensive to create, I like to free up memory when I don't need them, is it a good idea to use NSCache instead of Dictionary?

What do you mean by “sensitive” here? Sensitive from a security perspective? Or something else?

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple

1 Like
Terms of Service

Privacy Policy

Cookie Policy