Latest 0.0.3
Homepage https://github.com/stackhou/ElegantTableView
License MIT
Platforms ios 7.0, requires ARC
Authors

CocoaPods

优雅的创建TableView

Cocoapods

a. Add ElegantTableView to your Podfile.

    pod 'ElegantTableView'

b. Run

    pod install 

Carthage

a. Add ElegantTableView to your Cartfile.

    github "stackhou/ElegantTableView"

b. Run

    carthage update

c. Follow the rest of the standard Carthage installation instructions to add ElegantTableView to your project.

Use


    NSArray *dataSources = @[@"你", @"我", @"他", @"1", @"2", @"3"];
    UITableView *tableView = [[ElegantTableViewGenerator shareInstance] createWithFrame:self.view.bounds titles:dataSources subTitles:nil rowHeight:44 didSelectRowBlock:^(UITableView *tableView, NSIndexPath *indexPath) {
        NSLog(@"点击TableView-->%ld", (long)indexPath.row);
    } didScrollBlock:^(UIScrollView *tableView, CGPoint contentOffset) {
        NSLog(@"滚动TableView-->%@", NSStringFromCGPoint(contentOffset));
    }];

    [self.view addSubview:tableView];

Latest podspec

{
    "name": "ElegantTableView",
    "version": "0.0.3",
    "summary": "ElegantTableView u4f18u96c5u7684u5febu901fu7684u521bu5efaTableView, Author's email:[email protected]",
    "description": "ElegantTableView u4f18u96c5u7684u5febu901fu7684u521bu5efau7b80u5355u5217u8868TableView, Author's email:[email protected]",
    "homepage": "https://github.com/stackhou/ElegantTableView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "houmanager": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/stackhou/ElegantTableView.git",
        "tag": "0.0.3"
    },
    "source_files": "ElegantTableView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This