TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2015 |
Maintained by xn1108100154.
Depends on: | |
SDWebImage | ~> 3.7 |
SMPageControl | ~> 1.2 |
XNLoopBannerView is an auto(if needed) loop scroll view with SDWebImage and SMPageControl. It uses UICollectionView to reuse UIImageViews.
self.bannerView = [[XNLoopBannerView alloc] initWithFrame:CGRectMake(0, 0, self.view.width, 300) imageUrls:imageUrlArray];
self.bannerView.animationDuration = 5;
[self.view addSubview:self.bannerView];
pod 'XNLoopBannerView'
XNLoopBannerView
folder to your project (I assume you have already installed SDWebImage and SMPageControl).XNLoopBannerView is available under the MIT license. See the LICENSE file for more info.