Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. NSArray *documentPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
  2. NSString *documentFolder = [documentPath objectAtIndex:0];
  3.  
  4. NSString *generalFile = [documentFolder stringByAppendingPathComponent:@"fileName.plist"];
  5. NSDictionary *myGeneralDict = = [[NSDictionary alloc] initWithContentsOfFile:generalFile];
  6. NSArray *myGeneralArray = = [[NSArray alloc] initWithContentsOfFile:generalFile];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement