Skip to content

Instantly share code, notes, and snippets.

@Wevah
Created March 6, 2012 17:41
Show Gist options
  • Save Wevah/1987687 to your computer and use it in GitHub Desktop.
Save Wevah/1987687 to your computer and use it in GitHub Desktop.
NSPropertyListSerialization usage
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