Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSString *path = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"txt"];
- NSString* content = [NSString stringWithContentsOfFile:path encoding:NSASCIIStringEncoding error:NULL];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement