NSUserDefaults: caveman debugging

Need to see what’s going on with NSUserDefaults?

Use:

NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];

NSLog(@”%@”, [defaults dictionaryRepresentation]);

Or, from the command line:

(lldb) po [ [NSUserDefaults standardUserDefaults] dictionaryRepresentation];

Leave a Reply

Your email address will not be published. Required fields are marked *