Latest 0.0.1
Homepage https://github.com/jasamin/CVScrollPage
License MIT
Platforms ios
Authors

CVScrollPage

You want to add pod ‘CVSroPage’, ‘~> 0.0’ similar to the following to your Podfile:

target ‘MyApp’ do

pod ‘CVSroPage’

end

Then run a pod install inside your terminal, or from CocoaPods.app.

Alternatively to give it a test run, run the command:

pod try CVSroPage

使用
CVScorllViewPage *page = [[CVScorllViewPage alloc]initWithFrame:CGRectMake(10, 100, 340, 280) direction:CVHorizontal];
page.titleArr = @[@"猫 1",@"狗 2",@"猫 3",@"狗 4"];//先赋值标题 再设置图片资源
//page.isLocalImage = YES;//如果是本地图片,先设置这个属性为真
//page.imagesUrls = @[@"1.jpg",@"2.jpg",@"3.jpg",@"4.jpg"];

page.imagesUrls = @[
                    @"http://img5.imgtn.bdimg.com/it/u=2276391059,2676039382&fm=26&gp=0.jpg",
                    @"http://img2.imgtn.bdimg.com/it/u=1499844476,2082399552&fm=26&gp=0.jpg",
                    @"http://img4.imgtn.bdimg.com/it/u=3930436285,1263327733&fm=26&gp=0.jpg",
                    @"http://img3.imgtn.bdimg.com/it/u=3636018372,2939030053&fm=26&gp=0.jpg",
                    @"http://img0.imgtn.bdimg.com/it/u=3389517482,693147730&fm=26&gp=0.jpg"
                    ];
page.scrollTime = 5;
//page.hidePageController = YES;

[self.view addSubview:page];

Latest podspec

{
    "name": "CVSroPage",
    "version": "0.0.1",
    "summary": "u8f6eu64adu56fe",
    "description": "u7b80u5355u5199u7684u4e00u4e2au8f6eu64adu56feu5de5u5177",
    "homepage": "https://github.com/jasamin/CVScrollPage",
    "license": "MIT",
    "authors": {
        "u5466u963fu61f5": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/jasamin/CVScrollPage.git",
        "tag": "0.0.1"
    },
    "source_files": "ToolDir/CVScrollViewPage/*"
}

Pin It on Pinterest

Share This