Skip to content

Instantly share code, notes, and snippets.

@hacksoldier
Created November 26, 2013 20:33
Show Gist options
  • Save hacksoldier/7665714 to your computer and use it in GitHub Desktop.
Save hacksoldier/7665714 to your computer and use it in GitHub Desktop.
[PLIST] Write dictionary on Plist
+ (void)writeDictionary:(NSDictionary *)dictionary fromPlistName:(NSString *)plistName {
NSString *path = [[NSBundle mainBundle] pathForResource:plistName ofType:@"plist"];
[dictionary writeToFile:path atomically:YES];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment