Latest 2.1.3
Homepage https://github.com/augsun/JXRollView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit

JXRollView

The easiest way to create an infinite loop scroll view.

JXRollView

Twitter

NO BEST ONLY CLOSER.

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like JXRollView in your projects.You can install it with the following command:

pod 'JXRollView'

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.

Latest podspec

{
    "name": "JXRollView",
    "version": "2.1.3",
    "summary": "The easiest way to create an infinite loop scroll view.",
    "description": "The easiest way to create an infinite loop scroll view.Only need a few simple steps.",
    "homepage": "https://github.com/augsun/JXRollView",
    "license": "MIT",
    "authors": "CoderSun",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/augsun/JXRollView.git",
        "tag": "2.1.3"
    },
    "source_files": "JXRollView/**/*.{h,m}",
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This