Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 311 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 311 Bytes

LineByLine

To compile

$ make

To test

$ make test

To use in your code

#import "LBLReader.h"

LBLReader *reader = [[LBLReader alloc] initWithPath:@"/path/to/file"];

NSString *line;
while ( (line = [reader readLine]) ) {
    NSLog(@"%lu => '%@'", reader.lineNumber, line);
}