Latest 0.0.1
Homepage https://github.com/MrCuiHongbao/HBScrollPageView
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

a custom scrollPageView will show
根据UIPageViewController实现视图的翻转,优点在于按需加载

1.实例化类

    HBScrollPageView *scrollPageView = [[HBScrollPageView alloc] initWithFrame:CGRectMake(0,0, self.view.frame.size.width, self.view.frame.size.height-SLIDERMENUHEIGHT)];
    scrollPageView.delegate = self;

// [scrollPageView.hbScrollView setScrollEnabled:NO];//禁止滚动
[self.view addSubview:scrollPageView];

2 .添加数据源

FirstViewController *firstVC = [[FirstViewController alloc] init];
SecondViewController *secondVC = [[SecondViewController alloc] init];
ThirdViewController *thirdVC = [[ThirdViewController alloc] init];
NSArray *array = [NSArray arrayWithObjects:firstVC,secondVC,thirdVC, nil];
[scrollPageView setViewControllerItems:array];

Latest podspec

{
    "name": "HBScrollPageView",
    "summary": "HBScrollPageView with  pageViewController.",
    "version": "0.0.1",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "MrCuihongbao": "[email protected]"
    },
    "social_media_url": "https://mrcuihongbao.github.io",
    "homepage": "https://github.com/MrCuiHongbao/HBScrollPageView",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/MrCuiHongbao/HBScrollPageView.git",
        "tag": "0.0.1"
    },
    "requires_arc": true,
    "source_files": "HBScrollPageView/**/*.{h,m}",
    "public_header_files": "HBScrollPageView/**/*.{h}",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This