Latest 0.1.2
Homepage https://github.com/aaazq/ZQCycleView
License MIT
Platforms ios 8.0
Dependencies SDWebImage
Frameworks UIKit
Authors

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ZQCycleView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'ZQCycleView'

Author

[email protected], [email protected]

License

轮播图,长方形分页控件
最新更新功能:支持无限滚动、点击回调等
使用方法:
1.进行初始化,并实现代理方法:

  • (instancetype)initWithframe:(CGRect)frame
    imageUrls:(NSArray )imageUrls
    delegate:(id)delegate
    selectPageControlColor:(UIColor
    )selectPageControlColor
    pageControlAliment:(PageControlAliment)pageControlAliment;
    /* 点击图片回调 /
  • (void)cycleScrollView:(ZQCycleView *)cycleScrollView didSelectItemAtIndex:(NSInteger)index;
    2.注意事项:1.需要infoplist文件里设置Allow Arbitrary Loads = YES;
    2.初始化没有数据时,例如imageUrls,可以在初始化的时候置为nil,随后进行属性赋值即可;

image

Latest podspec

{
    "name": "ZQCycleView",
    "version": "0.1.2",
    "summary": "u692du5706u5f62u7684u8f6eu64adu56fe",
    "description": "u5c01u88c5u4e86u8f6eu64adu56feu548cviewu7684u5206u7c7b,u5c06u4f20u5165u7684u56feu7247urlu52a8u6001u5c55u793auff0cu53efu4e00u884cu4ee3u7801u521du59cbu5316u5e76u4f7fu7528uff0cu8bbeu7f6eu4ee3u7406u53efu4ee5u56deu8c03u70b9u51fbu4e8bu4ef6",
    "homepage": "https://github.com/aaazq/ZQCycleView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aaazq/ZQCycleView.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ZQCycleView/Classes/**/*",
    "resource_bundles": {
        "ZQCycleView": [
            "ZQCycleView/Assets/*"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This