I am working with an iOS app that will require the user to configure part of the app and that configuration must be saved in the event the user turns on/off a part of the app. Once the app is backgrounded, the users-configuration must be removed for security purposes.
My question is what is the best way to save primarily strings and NSIntegers temporarily and then removing them when the time comes.
NSUserDefaults
NSCache
I have looked into both and am unable to come up with any solid conclusions. Is there another way that I am missing that might be better?
Thanks! -Brian