Latest 0.2
Homepage https://github.com/xn1108100154/XNLoopBannerView
License MIT
Platforms ios 7.0, requires ARC
Dependencies SDWebImage, SMPageControl
Authors

XNLoopBannerView is an auto(if needed) loop scroll view with SDWebImage and SMPageControl. It uses UICollectionView to reuse UIImageViews.

XNLoopBannerView

Example Usage

self.bannerView = [[XNLoopBannerView alloc] initWithFrame:CGRectMake(0, 0, self.view.width, 300) imageUrls:imageUrlArray];
self.bannerView.animationDuration = 5;
[self.view addSubview:self.bannerView];

Requirements

  • ARC
  • iOS 7.0 and above

Installation

pod 'XNLoopBannerView'
  • Without CocoaPods:
    Drag the XNLoopBannerView folder to your project (I assume you have already installed SDWebImage and SMPageControl).

License

XNLoopBannerView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "XNLoopBannerView",
    "version": "0.2",
    "summary": "An auto loop scroll view.",
    "homepage": "https://github.com/xn1108100154/XNLoopBannerView",
    "screenshots": "https://raw.githubusercontent.com/xn1108100154/XNLoopBannerView/master/demo.gif",
    "license": "MIT",
    "authors": {
        "XuNing": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/xn1108100154/XNLoopBannerView.git",
        "tag": "0.2"
    },
    "source_files": "XNLoopBannerView/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "SDWebImage": [
            "~> 3.7"
        ],
        "SMPageControl": [
            "~> 1.2"
        ]
    }
}

Pin It on Pinterest

Share This