JXRollView 2.1.3

JXRollView 2.1.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Feb 2018

Maintained by codersun.



  • By
  • CoderSun

The easiest way to create an infinite loop scroll view.

JXRollView

NO BEST ONLY CLOSER.

Installation through manually

  1. Download the latest version.

  2. 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.

  3. Include JXRollView wherever you need it with #import "JXRollView.h".

How To Get Started

1. Create JXRollView.

- (instancetype)initWithFrame:(CGRect)frame;
or outlet from (IB)Xib.
@property (weak, nonatomic) IBOutlet JXRollView *rollView;

2. Implement the method of JXRollViewDelegate.

@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

3. It reload data.

- (void)reloadData;

License

JXRollView is distributed under the terms and conditions of the MIT LICENSE.