Objective-C: Reading a file line by line
This will work for general reading a String from Text. If you would like to read longer text (large size of text), then use the method that other people here were mentioned such as buffered (reserve the size of the text in memory space). Say you read a Text File. NSString* filePath = @””//file path… … Read more