Advertisement
TheBiagio1996

Lettura file TXT Objective C

Aug 10th, 2014 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NSString *path = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
  2. NSString* content = [NSString stringWithContentsOfFile:path encoding:NSASCIIStringEncoding error:NULL];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement