A circle scroll view for iOS.
Available in CocoaPods
pod 'BSCircleBanner'
or
- Copy
BSCircleBanner
folder to project; - Install
Masonry
via CocoaPods or other way.
#import "BSCircleBanner.h"
- Create a instance of
BSCircleBanner
; - Configure that instance, set the banner size and so on;
- Add it to a superview;
- Setup and implement its data source and delegate.
Now, this repo just provide two layout for banners -- album type and normal type, the preview is in the above. Change the type property of banner view instance can change the display type which it use.
You can set the customLayout
property to use the custom layouts.