4 ms·
Letting individual classes get settings from NSUserDefaults (which itself effectively presents a singleton) directly seems to work pretty well for me. One adva
by rbarooah 15y ago
Letting individual classes get settings from NSUserDefaults (which itself effectively presents a singleton) directly seems to work pretty well for me.
One advantage is that the classes are then reusable in other projects because they aren't coupled to an application specific settings provider.