NSDictionary to NSData

suggest change
NSDictionary *myDictionary = [[NSDictionary alloc] initWithObjectsAndKeys:@"value1", @"key1", @"value2", @"key2", nil];  
NSData *myData = [NSKeyedArchiver archivedDataWithRootObject:myDictionary];

Reserve path:

NSDictionary *myDictionary = (NSDictionary*) [NSKeyedUnarchiver unarchiveObjectWithData:myData];

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


NSDictionary:
*NSDictionary to NSData

Table Of Contents