テキストファイルからテキストを読み取ろうとしています。これを行うには、stringWithContentsOfFile を使用しました。
pathName = [[NSBundle mainBundle] pathForResource:sample ofType:@"txt"];
entireContent = [NSString stringWithContentsOfFile:pathName encoding:NSUTF8StringEncoding error:NULL];
entireChapter = [entireContent substringWithRange:sourceRange];
弦を速くする別の方法を持っている人はいますか?