Latest 0.0.2
License MIT

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) {
    NSLog(@"%02d:(%@)", lineNo, line);
[reader close];



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": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "yaslab": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.0.2"
    "source_files": "YLFileReader/Classes/**/*.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This