Is it possible to load/save the whole structure of plist in setting bundle using NSUserDefaults
I know it can use NSDictionary to load and save whole plist file on iphone document directory with its structure.
But is it possible to load/save the whole structure of plist in setting bundle u开发者_如何学JAVAsing NSUserDefaults?
I'm pretty sure the following works for saving arrays in NSUserDefaults so it should work fine for a NSDictionary
[[NSUserDefaults standardUserDefaults] setObject:dictionary forKey:@"Dictionary"];
Hope that helps
精彩评论