Latest 1.0.1
Homepage https://github.com/xlchenk/LLGuidePage
License MIT
Platforms ios 8.0
Authors

这是一个开机引导页的框架

使用方法:

在Podfile中 ,使用 pod ‘LLGuidePage’, ‘~> 1.0.1’
在要使用的控制器中引入:#import "LLGuidePageController.h"
调用简单,一个block完成初始化

LLGuidePageController * guidePageVC = [[LLGuidePageController alloc]initWithPageCount:5 setupCellHandler:^(LLGuidePageCell *cell, NSIndexPath *indexPath) {
//在这里设置数据源
cell.imageView.image = [UIImage imageNamed:[NSString stringWithFormat:@"start_0%ld",indexPath.row]];
[cell.finishBtn setTitle:@"点击下一步" forState:UIControlStateNormal];
} finishBtnHandler:^(UIButton *finishBtn) {
NSLog(@"进入下一步");
}];
guidePageVC.pageControl.pageIndicatorTintColor = [UIColor purpleColor];
guidePageVC.pageControl.currentPageIndicatorTintColor = [UIColor blueColor];

Latest podspec

{
    "name": "LLGuidePage",
    "version": "1.0.1",
    "summary": "u8fd9u662fu6211u7684u7b2cu4e00u4e2au6846u67b6",
    "description": ""u8fd9u662fu6211u7684u7b2cu4e00u4e2au6846u67b6 "",
    "homepage": "https://github.com/xlchenk/LLGuidePage",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "xlchenk": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/xlchenk/LLGuidePage.git",
        "tag": "1.0.1"
    },
    "source_files": [
        "LLGuidePage",
        "LLGuidePage/**/*.{h,m}"
    ],
    "exclude_files": "LLGuidePage/Exclude"
}

Pin It on Pinterest

Share This