Latest 1.0.1
Homepage https://github.com/ws00801526/XMNRollingBanner
License MIT
Platforms ios 8.0, requires ARC
Authors

基于UICollectionView封装的无限循环滚动的BannerView

安装说明


1. CocoaPods

pod 'XMNRollingBanner'

2. 直接拖拽文件夹XMNBanner到工程内

属性说明

属性 说明
rollingDirection banner滚动方向,支持水平滚动,垂直滚动
duration 滚动时间间隔,最低1s
reverseRollingDirection 是否逆向滚动
autoReverseRollingDirection 是否当滚动到最后条,第一条记录后 自动逆向滚动
currentIndex 当前index
images 展示的图片数组
placeholderImage 加载网络图片,或者未传入images显示的默认图片
pageControl 自定义个pageControl,默认使用UIPageControl
tapBlock 点击的block回调
loadRemoteImageBlock 加载远程图片的block

Latest podspec

{
    "name": "XMNRollingBanner",
    "version": "1.0.1",
    "summary": "u65e0u9650u5faau73afu6edau52a8banner",
    "description": "u57fau4e8eUICollectionViewu5c01u88c5u7684banner,u5982u679cu60a8u53d1u73b0u4ec0u4e48bugu6216u8005u6709u4ec0u4e48u95eeu9898,u53efu4ee5u8054u7cfbu6211",
    "homepage": "https://github.com/ws00801526/XMNRollingBanner",
    "license": "MIT",
    "authors": {
        "XMFraker": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ws00801526/XMNRollingBanner.git",
        "tag": "1.0.1"
    },
    "source_files": "XMNRollingBannerExample/XMNBanner/**/*.{h,m}",
    "ios": {
        "frameworks": "UIKit"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This