Latest 1.0.0
Homepage https://github.com/342261733/XNQBannerView
License MIT
Platforms ios 7.0
Dependencies SDWebImage
Frameworks Foundation, CoreGraphics, UIKit
Authors

无限轮播图

可以自配图片类型:

1)UIImage

2)image name

3)image url

可以自配轮播时间

1) 设置 scrollTimerDelay 属性

2) default is 2.0s

注意:加载网络图片需要配置默认的图片,等待下载,否则报错

static NSString *const strBannerDefaultImageName = @"default.png";

加载网络图片使用的是SDWebImage库,如果不需要可以替换掉

Latest podspec

{
    "name": "XNQBannerView",
    "version": "1.0.0",
    "summary": "A banner view for iOS.",
    "description": "A banner view for iOS. It can be used very easy.",
    "homepage": "https://github.com/342261733/XNQBannerView",
    "license": "MIT",
    "authors": {
        "Semyon": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/342261733/XNQBannerView.git",
        "tag": "1.0.0"
    },
    "source_files": "XNQBannerView/*.{h,m}",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ],
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This