ZQCycleView 0.1.2

ZQCycleView 0.1.2

Maintained by zhangqi.



ZQCycleView

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