I would like to know if it is good practice to mirror UserDefault values or not?
For example, if I store the “A” parameter in UserDefault, is it useful to maintain a copy of this value locally and update it when UserDefault changes?
In my application, I often needed to read parameter "A", in which case I would rather read from ivar instead of NSUserDefault, but I'm not sure about that, so I ask if there is good practice.
source
share