CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2017 |
Maintained by Allen Shen, shendong.
'SDBannerView' is a simple, powerful banner view, support for data cached, by the way, you can load image from local or remote.
Even though SDBannerView
is written in Objective-C, it can be used in Swift with no hassle. If you use CocoaPods add the following line to your Podfile:
use_frameworks!
If you added SDBannerView
manually, just add a bridging header file to your project with the SDBannerView
header included.
(see sample Xcode porject in '/SDBannerView')
you can create it with hard code or xib.
Then you can set its images for SDBannerView. whatever local images or remote images
#import <SDBannerView/SDBannerView.h>
[banner setCurrentIndexDidTap:^(NSInteger index) {
NSLog(@"index = %ld",index);
}];
[self.view addSubview:banner];
[banner setImages:array];
If you create it with XIB or Storyboard, just put the below code where -(void)willAppear or -(void)viewDidLoad;
self.automaticallyAdjustsScrollViewInsets = NO;
TSMessages is available under the MIT license. See the LICENSE file for more information.
Can be found in the releases section of this repo.