HAutoScrollView 1.0.4

HAutoScrollView 1.0.4

TestsTested
LangLanguage Obj-CObjective C
License Unknown
ReleasedLast Release May 2018

Maintained by JuanFelix.



HAutoScrollView

CI Status Version License Platform

循环ScrollView,支持自动滚动、支持点击事件代理回调,已处理NSTimer 销毁,处理AutoLayout 适配。

启动自动滚动
  • [autoScroll setAutoFlip:true];
设置滚动时间
  • [autoScroll setFlipInterval:3.0];
Delegate&DataSource
  • [autoScroll setDelegate:self];
  • [autoScroll setDataSource:self];
点击事件
  • -(void)autoScrollView:(HAutoScrollView *)asView didSelectAtPageIndex:(NSInteger)pIndex;
数据源
  • -(NSInteger)numberOfPagesInHAutoScrollView:(HAutoScrollView *)asView;
  • -(UIView *)pageAtIndex:(NSInteger)index autoScrollView:(HAutoScrollView *)asView;

Installation

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

pod "HAutoScrollView"

License

HAutoScrollView is available under the MIT license. See the LICENSE file for more info.

===

效果图
1 2 3
image image image

image