Latest 1.0.0
Homepage https://github.com/iFallen/HAutoScrollView
License MIT
Platforms ios 7.0, requires ARC
Authors

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.

===

效果图

image

image

image

image

Latest podspec

{
    "name": "HAutoScrollView",
    "version": "1.0.0",
    "summary": "HAutoScrollView",
    "description": "u5faau73afScrollView,u652fu6301u81eau52a8u6edau52a8u3001u652fu6301u70b9u51fbu4e8bu4ef6u4ee3u7406u56deu8c03uff0cu5df2u5904u7406NSTimer u9500u6bc1uff0cu5904u7406AutoLayout u9002u914du3002",
    "homepage": "https://github.com/iFallen/HAutoScrollView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "LiangJun.Hu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/iFallen/HAutoScrollView.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://ifallen.github.io",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "HAutoScrollView/Classes/**/*",
    "public_header_files": "HAutoScrollView/Classes/**/*.h"
}

Pin It on Pinterest

Share This