Latest 1.0.1
Homepage https://github.com/zziking/KIZImagePlayer
License MIT
Platforms ios 6.0, requires ARC
Authors

KIZImageScrollView

CocoaPods Version
License

图片自动无限循环轮播,支持手动滑动和自动轮播,支持设置轮播间隔时间,支持storyboard,支持直接设置图片和用SDwebImage设置网络图片,只有3个imageView,提高性能。

imagescroll

Installation

Available in CocoaPods

pod 'KIZImagePlayer'

How to use

设置代理

self.imageScrollView.kizScrollDataSource = self;
self.imageScrollView.kizScrollDelegate   = self;

实现代理方法

- (NSUInteger)numberOfImageInScrollView:(KIZImageScrollView *)scrollView{
    return self.dataSource.count;
}

- (void)scrollView:(KIZImageScrollView *)scrollView imageAtIndex:(NSUInteger)index forImageView:(UIImageView *)imageView{
    imageView.image = [UIImage imageNamed:self.dataSource[index]];
    //or use SDWebImage set web image
    //[imageView sd_setImageWithURL:url];
}

Latest podspec

{
    "name": "KIZImagePlayer",
    "version": "1.0.1",
    "summary": "an image auto scroll player.",
    "description": "u56feu7247u81eau52a8u65e0u9650u5faau73afu8f6eu64adu5668uff0cu652fu6301u624bu52bfu6ed1u52a8u548cu81eau52a8u8f6eu64aduff0cu652fu6301u8bbeu5b9au8f6eu64adu95f4u9694u65f6u95f4uff0cu652fu6301u672cu5730imageu56feu7247u548cu4f7fu7528SDWebImageu8bbeu7f6eu7f51u7edcu56feu7247",
    "homepage": "https://github.com/zziking/KIZImagePlayer",
    "screenshots": "https://camo.githubusercontent.com/1897a508be3463582648ec71268fde92b690d06a/687474703a2f2f37786a7366342e636f6d312e7a302e676c622e636c6f7564646e2e636f6d2f6769745f6b697a496d6167655363726f6c6c766965775f312e676966",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kingizz": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/zziking/KIZImagePlayer.git",
        "tag": "1.0.1"
    },
    "source_files": "KIZImagePlayer/KIZImagePlayer/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This