Created
March 6, 2012 17:41
-
-
Save Wevah/1987687 to your computer and use it in GitHub Desktop.
NSPropertyListSerialization usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *errorString; | |
NSData *data = [NSPropertyListSerialization dataFromPropertyList:plist format:NSPropertyListXMLFormat_v1_0 errorDescription:&errorString]; | |
if (!data) | |
NSLog(@"%@", errorString); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment