Latest1.0.0
Homepagehttps://github.com/Damsir/DistNumbersView
LicenseMIT
Platformsios 8.0, requires ARC
FrameworksUIKit
Authors

可冻结行和列的表格视图,类似Numbers(Mac)和Excel(Windows)
usage:
_numbersView.columnsToFreeze = 2;
_numbersView.itemMaxWidth = 300;
_numbersView.itemMinWidth = 100;
_numbersView.rowHeight = 50;

_numbersView.isFreezeFirstRow = YES;
_numbersView.delegate = self;
_numbersView.dataSource = self;

[_numbersView registerNib:[UINib nibWithNibName:@"SampleCollectionCell" bundle:nil] forCellWithReuseIdentifier:SampleCollectionCellReuseIdentifier];
//添加边界线

// _numbersView.layer.borderColor = [UIColor lightGrayColor].CGColor;
// _numbersView.layer.borderWidth = 0.5;

[_numbersView reloadData];

Latest podspec

{
    "name": "DistNumbersView",
    "version": "1.0.0",
    "summary": "u53efu51bbu7ed3u5217u7684u8868u683cu89c6u56feuff0cu7c7bu4f3cNumbers(Mac)u548cExcel(Windows)",
    "authors": {
        "Damrin": "[email protected]"
    },
    "homepage": "https://github.com/Damsir/DistNumbersView",
    "source": {
        "git": "https://github.com/Damsir/DistNumbersView.git",
        "tag": "1.0.0"
    },
    "license": "MIT",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": [
        "DistNumbersView",
        "DistNumbersView/**/*.{h,m}"
    ],
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This