CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Sep 2015 |
Maintained by sunbohong.
An easy-to-use UIView subclass that implements a scrolling effect UIView with images
An easy-to-use UIView subclass that implements a scrolling effect UIView with images
import class #import "SunHorizontalScrollMedia.h" #import "SUNScrollTableViewCell.h" and add its delegate SunHorizontalScrollViewDelegate.
- (SunHorizontalScrollView *)scrollView {
if (!_scrollView) {
_scrollView = [SunHorizontalScrollView new];
_scrollView.delegate = self;
_scrollView.flowLayout.itemSize = CGSizeMake(SUNScrollTableViewCellImageWidth, SUNScrollTableViewCellImageHeight);
_scrollView.flowLayout.sectionInset = UIEdgeInsetsMake(SUNScrollTableViewCellTopInset, SUNScrollTableViewCellLeftInset, SUNScrollTableViewCellBottomInset, SUNScrollTableViewCellRightInset);
}
return _scrollView;
}iOS 7, Xcode 7
sunbohong, [email protected]
SUNScrollTableViewCell is available under the MIT license. See the LICENSE file for more info.