Latest 1.5.3
Homepage https://github.com/qylibohao/BHInfiniteScrollView
License MIT
Platforms ios 7.0, requires ARC
Dependencies SDWebImage
Authors

BHInfiniteScrollView (QQ交流群:206177395)

IOS上功能最全的图片轮播库,支持图片左右滚动,上下滚动。Page Control 支持方向布局,并且支持自由定制

image

持续更新,欢迎⭐️star⭐️

TODO : 支持滚动时间间隔,等。欢迎提出你的意见建议

使用方法方便简单

BHInfiniteScrollView* infinitePageView = [BHInfiniteScrollView infiniteScrollViewWithFrame:frame Delegate:delegate ImagesArray:图片数组];

其中图片数组同时支持:网络连接,本地图片名字或者UIImage。

滚动方向 BHInfiniteScrollViewScrollDirection

BHInfiniteScrollViewScrollDirectionHorizontal,                 /** 水平滚动*/
BHInfiniteScrollViewScrollDirectionVertical,                   /** 垂直滚动*/

反向滚动 reverseDirection

@property (nonatomic, assign) BOOL reverseDirection;

Page Control 水平方向布局 BHInfiniteScrollViewPageControlAlignHorizontal

BHInfiniteScrollViewPageControlAlignHorizontalCenter,          /** page control 布局 水平居中*/
BHInfiniteScrollViewPageControlAlignHorizontalRight,           /** page control 布局 水平靠右*/
BHInfiniteScrollViewPageControlAlignHorizontalLeft,            /** page control 布局 水平靠左*/

Page Control 垂直方向布局 BHInfiniteScrollViewPageControlAlignVertical

BHInfiniteScrollViewPageControlAlignVerticalCenter,            /** page control 布局 垂直居中*/
BHInfiniteScrollViewPageControlAlignVerticalTop,               /** page control 布局 垂直靠上*/
BHInfiniteScrollViewPageControlAlignVerticalButtom,            /** page control 布局 垂直靠底*/

轮播图是否无限循环滚动

@property (nonatomic, assign) BOOL infiniteLoop;

安装

  1. Podfile 中添加 pod 'BHInfiniteScrollView'
  2. 执行 pod installpod update。注意:如果遇到"Unable to find a pod with name matching"错误,需要先 ‘pod setup’ 更新缓存
  3. 导入 <BHInfiniteScrollView/BHInfiniteScrollView.h>

要求

该项目最低支持 iOS 6.0+Xcode 7.0

许可证

BHInfiniteScrollView 使用 MIT 许可证,详情见 LICENSE 文件。

usage

BHInfiniteScrollView* infinitePageView = [BHInfiniteScrollView infiniteScrollViewWithFrame:frame Delegate:delegate ImagesArray:array];

array support :url string,local image name string or UIImage。

BHInfiniteScrollViewScrollDirection

BHInfiniteScrollViewScrollDirectionHorizontal,                 /** horizontal scroll*/
BHInfiniteScrollViewScrollDirectionVertical,                   /** vertical scroll*/

reverseDirection

@property (nonatomic, assign) BOOL reverseDirection;

Page Control horizontal layout BHInfiniteScrollViewPageControlAlignHorizontal

BHInfiniteScrollViewPageControlAlignHorizontalCenter,          /** page control layout horizontal center*/
BHInfiniteScrollViewPageControlAlignHorizontalRight,           /** page control layout horizontalRight*/
BHInfiniteScrollViewPageControlAlignHorizontalLeft,            /** page control layout horizontalLeft*/

Page Control vertical layout BHInfiniteScrollViewPageControlAlignVertical

BHInfiniteScrollViewPageControlAlignVerticalCenter,            /** page control layout verticalcenter*/
BHInfiniteScrollViewPageControlAlignVerticalTop,               /** page control layout verticalTop*/
BHInfiniteScrollViewPageControlAlignVerticalButtom,            /** page control layout verticalButtom*/

infiniteLoop

@property (nonatomic, assign) BOOL infiniteLoop;

CocoaPods

  1. Add pod 'BHInfiniteScrollView' to your Podfile.
  2. Run pod install or pod update.
  3. Import <BHInfiniteScrollView/BHInfiniteScrollView.h>.

Requirements

This library requires iOS 6.0+ and Xcode 7.0+.

License

BHInfiniteScrollView is provided under the MIT license. See LICENSE file for details.

Latest podspec

{
    "name": "BHInfiniteScrollView",
    "version": "1.5.3",
    "summary": "BHInfiniteScrollView is a infinite scroll view spport all direction",
    "description": "                   A longer description of BHInfiniteScrollView in Markdown format.nn                   * Think: Why did you write this? What is the focus? What does it do?n                   * CocoaPods will be using this to generate tags, and improve search results.n                   * Try to keep it short, snappy and to the point.n                   * Finally, don't worry about the indent, CocoaPods strips it!n",
    "homepage": "https://github.com/qylibohao/BHInfiniteScrollView",
    "license": "MIT",
    "authors": {
        "qylibohao": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/qylibohao/BHInfiniteScrollView.git",
        "tag": "1.5.3"
    },
    "source_files": "BHInfiniteScrollView/BHInfiniteScrollView/**/*.{h,m}",
    "exclude_files": "Classes/Exclude",
    "requires_arc": true,
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This