I am using the InAppSettingsKit
modules to manage my settings.
I can include it in my project to the point where I can build a settings page that interacts correctly with my project. I have a root.plist that I can change and when I first run my app on the simulator I can see the changes reflected.
However, for the life of me, I cannot access the settings in NSUserDefaults
through my code. When I run the code below I can loop through the contents of the [NSUserDefaults standardUserDefaults]
. However, I only see a bunch of generic settings that are not related to the stuff in my plist file
NSUserDefaults* d = [NSUserDefaults standardUserDefaults];
NSDictionary* dict = [d dictionaryRepresentation];
NSString* descKey;
NSString* descObject;
NSString* classTypeForKey;
NSString* classTypeForObject;
id myObject;
for (id key in dict) {
myObject = [dict objectForKey:key];
classTypeForObject = [[myObject class] description];
classTypeForKey = [[key class] description];
descKey = [key description];
descObject = [myObject description];
}
So where does InAppSettingsKit put the settings? The doc says in [NSUserDefaults standardUserDefaults]
so I am at a loss.