I'm trying to fill a dictionary with values from restkit. I save the dictionary using NSUserDefaults in my restEngine.m
NSDictionary *dict = [mappingResult dictionary];
[[NSUserDefaults standardUserDefaults] setObject:[NSKeyedArchiver archivedDataWithRootObject:dict] forKey:kPopulateTableView ];
[[NSUserDefaults standardUserDefaults] synchronize];
When I build the app, it breaks with the error message:
"[myclass encodeWithCoder:]: unrecognized selector sent to instance"
What am I doing wrong here?