LineReader icon indicating copy to clipboard operation
LineReader copied to clipboard

Reading a text file line by line aka block wise.

Results 5 LineReader issues
Sort by recently updated
recently updated
newest added

Not sure where the original NSDataExtensions lives, but as Stackoverflow sends a few people here I thought I'd send this.

So you have a textfile such as: diner restaurant lunch-spot greasy spoon café **// "é" character** coffee shop cafeteria LineReader stops reading when it hits the "café" line above. Never...

It'd be an interesting thing to make FileReader conform to ``, so you could do: ``` FileReader *r = [[FileReader alloc] initWithFilePath:pathToFile]; for (NSString *line in r) { NSLog(@"line: %@",...

While it uglifies the code, it is best practice to prefix both class names and any category methods with some uniquish characters. JJD would be appropriate. Without namespaces in Cocoa,...

The use and meaning of local variables in `FileReader` `readline` and `readLineBackwards` are not consistent. Especially, the character position at which the reader sits after one while loop in `readLineBackwards`...