1 | NSString *path = [[NSBundle mainBundle] pathForResource:@ "file" ofType:@ "txt" ]; |
2 | NSString *fileText = [NSString stringWithContentsOfFile:path]; |
1 | NSString *path = [[NSBundle mainBundle] pathForResource:@ "file" ofType:@ "txt" ]; |
2 | NSString *fileText = [NSString stringWithContentsOfFile:path]; |
0 Comments