XNLoopBannerView 0.2

XNLoopBannerView 0.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Oct 2015

Maintained by xn1108100154.



 
Depends on:
SDWebImage~> 3.7
SMPageControl~> 1.2
 


  • By
  • XuNing

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

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

  • From CocoaPods:
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.