Using NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];,
I use calls like BOOL boolFromPrefs = [defaults boolForKey:@"theBoolKey"]; To get a saved BOOL value.
If the key is not found, NO is returned (default behaviour of boolForKey).
But... NO can be a saved setting. Same thing for intForKey
So how can I test if a key exists before trying to get its value ?