Latest 2.1.2
Homepage https://github.com/czl0325/ZLPageView
License MIT
Platforms ios 8.0, requires ARC
Dependencies Masonry, SDWebImage
Authors

GitHub上唯一支持autolayout的tablayout。

支持cocoapods。

 pod 'ZLPageView'

ZLPageView

使用方法

    - (ZLPageView*)pageView {
    if (!_pageView) {
        _pageView = [[ZLPageView alloc]initWithFrame:CGRectZero];
        _pageView.titleHeight = 50;
        _pageView.indicatorColor = [UIColor colorWithWhite:0.4  alpha:1.0];
        _pageView.titleHighlightColor = [UIColor redColor];
        _pageView.titleCanScorll = YES;
        _pageView.indicatorStyle = Block;
    }
    return _pageView;
}

调用

    [self.view addSubview:self.pageView];
    [self.pageView setTitles:array1 viewcontrollers:vcs];
    [self.pageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(self.view);
    }];

Latest podspec

{
    "name": "ZLPageView",
    "version": "2.1.2",
    "summary": "ZLPageView",
    "description": "githubu4e0au552fu4e00u652fu6301autolayoutu7684tablayuot",
    "homepage": "https://github.com/czl0325/ZLPageView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "czl0325": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/czl0325/ZLPageView.git",
        "tag": "2.1.2"
    },
    "source_files": "ZLPageViewDemo/ZLPageView/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "Masonry": [],
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This