Latest 0.0.2
Homepage https://github.com/yaslab/YLFileReader
License MIT
Authors

YLFileReader is simple file reader.

How To Use

NSString *path = @"/path/for/file.txt";
NSStringEncoding encoding = NSShiftJISStringEncoding;
NSInteger bufferSize = 1024;
YLFileReader *reader = [[YLFileReader alloc] initWithFilePath:path encoding:encoding bufferSize: bufferSize];
NSInteger lineNo = 0;
NSString *line;
while ((line = [reader readLine]) != nil) {
    lineNo++;
    NSLog(@"%02d:(%@)", lineNo, line);
}
[reader close];

License

MIT

Latest podspec

{
    "name": "YLFileReader",
    "version": "0.0.2",
    "summary": "YLFileReader is simple file reader.",
    "description": "                   A longer description of YLFileReader in Markdown format.nn                   * Think: Why did you write this? What is the focus? What does it do?n                   * CocoaPods will be using this to generate tags, and improve search results.n                   * Try to keep it short, snappy and to the point.n                   * Finally, don't worry about the indent, CocoaPods strips it!n",
    "homepage": "https://github.com/yaslab/YLFileReader",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yaslab": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yaslab/YLFileReader.git",
        "tag": "0.0.2"
    },
    "source_files": "YLFileReader/Classes/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This