Latest 0.0.1
Homepage https://github.com/cuiwe000/ADCycleScrollView
License MIT
Platforms ios 5.0, requires ARC
Authors

ADCycleScrollView for banner 用于首页 广告 轮播图,支持 滑动,点击效果!

使用环境

iOS 6 以上系统

使用代码片段

#pragma mark - XLCycleScrollViewDatasource

- (NSInteger)numberOfPages{
    return  2; 
}

- (UIView *)pageAtIndex:(NSInteger)index{
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0,SCREEN_WIDTH, _clcleScrolleview.height)];
    imageView.image = [UIImage imageNamed:@"home_banner_1.png"];
    if ([_imageArray count]>0) {
        NSString *urls = _imageArray[index];
        [imageView sd_setImageWithURL:[NSURL URLWithString:urls] placeholderImage:[UIImage imageNamed:@"home_banner_1.png"]];
    }else{
    }
    return imageView;
}
[_clcleScrolleview reloadData]

意见反馈

反馈邮箱: [email protected]

Latest podspec

{
    "name": "ADCycleScrollView",
    "version": "0.0.1",
    "summary": "u9996u9875u6edau52a8u89c6u56fe",
    "description": "ADCycleScrollView for banner u7528u4e8eu9996u9875 u5e7fu544a u8f6eu64adu56feuff0cu652fu6301 u6ed1u52a8uff0cu70b9u51fbu6548u679cuff01",
    "homepage": "https://github.com/cuiwe000/ADCycleScrollView",
    "license": "MIT",
    "authors": {
        "u597du8fea": "[email protected]"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source": {
        "git": "https://github.com/cuiwe000/ADCycleScrollView.git",
        "tag": "0.0.1"
    },
    "source_files": "*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This