a guest Feb 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- NSArray *documentPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
- NSString *documentFolder = [documentPath objectAtIndex:0];
- NSString *generalFile = [documentFolder stringByAppendingPathComponent:@"fileName.plist"];
- NSDictionary *myGeneralDict = = [[NSDictionary alloc] initWithContentsOfFile:generalFile];
- NSArray *myGeneralArray = = [[NSArray alloc] initWithContentsOfFile:generalFile];
RAW Paste Data