TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Feb 2018 |
Maintained by codersun.
The easiest way to create an infinite loop scroll view.
NO BEST ONLY CLOSER.
Download the latest version.
Open your project in Xcode, then drag and drop JXRollView.h
and JXRollView.m
onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
#import "JXRollView.h"
.- (instancetype)initWithFrame:(CGRect)frame;
@property (weak, nonatomic) IBOutlet JXRollView *rollView;
@protocol JXRollViewDelegate <NSObject>
@required
- (NSInteger)numberOfItemsInRollView:(nonnull JXRollView *)rollView;
- (void)rollView:(nonnull JXRollView *)rollView setImageForImageView:(nonnull UIImageView *)imageView atIndex:(NSInteger)index;
@optional
- (void)rollView:(nonnull JXRollView *)rollView didTapItemAtIndex:(NSInteger)index;
@end
- (void)reloadData;
JXRollView is distributed under the terms and conditions of the MIT LICENSE.