Latest 1.5.1
Homepage https://github.com/TonyStark106/JHBannerView
License MIT
Platforms ios 7.0, requires ARC
Authors

JHBannerView是一个使用方便且属性齐全的图片轮播控件.

image

特性

  1. 传入的数据源类型为UIImage数组
  2. 多种属性方便个性化定制
  3. 遵守JHBannerViewDelegate就可以监听JHBannerView的状态切换

使用方法

方法一: 直接将JHBannerView.hJHBannerView.m两个文件拖入项目中
方法二: cocoapods: pod 'JHBannerView'

示例代码

NSArray *images = @[image1 ,image2, image3];
JHBannerView *bannerView = [JHBannerView bannerViewWithFrame:frame images:images];
[self.view addSubview:bannerView];
bannerView.alignment = JHBannerViewPageControlAlignmentTypeRight;
bannerView.delegate = self;

Latest podspec

{
    "name": "JHBannerView",
    "version": "1.5.1",
    "summary": "A cycle banner view(u4e00u4e2au7b80u5355u6613u7528u7684u8f6eu64adu56feu63a7u4ef6)",
    "homepage": "https://github.com/TonyStark106/JHBannerView",
    "license": "MIT",
    "authors": {
        "TonyStark106": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/TonyStark106/JHBannerView.git",
        "tag": "1.5.1"
    },
    "source_files": "JHBannerView/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This