I use NSUserDefaults as following
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
BOOL downloaded = [prefs boolForKey:@"downloaded"];
if (! downloaded ) {
[self MoveAndBuild ];
[prefs setBool:YES forKey:@"downloaded"];
//////////// Write to the file to prevent re import at the next time .
}
my question is can NSUserDefaults carry object of class , I mean I have a class and want to save object of it to be act as default is applicable , another question can NSUserDefaults store nsstring
any suggestion please