Latest 1.0.1
Homepage https://github.com/FelixLinBH/FLADPageView
License MIT
Platforms ios 8.0
Dependencies Masonry, DFImageManager, DFImageManager/AFNetworking, DFImageManager/GIF
Frameworks UIKit
Authors

Version
License
Platform

This library provides a carousel scrollview.

It provides:

  • Fetch image from Net.
  • Auto run carousel.
  • Customization dot image.
  • Customization progress color.
  • Support Autolayout.
  • Support jpg/png/gif.

How To Use

Properties

//Dot property
@property (nonatomic) UIImage *dotImage;
@property (nonatomic) UIImage *currentDotImage;
@property (nonatomic) CGFloat dotHeight;

//Carousel setting
@property (nonatomic, assign) BOOL autoScroll;
@property (nonatomic) CGFloat autoScrollTimeInterval;

//Carousel image data source
@property (nonatomic, strong) NSArray *dataSource;
@property (nonatomic, strong) NSArray *circleColor;

How to set data source?

adView.dataSource = @[@"https://..../a.jpg",@"https://.../b.jpg",@"http://.../c.gif"];

How to set progerss color foreach imageView?

It must be set up before dataSource.

 adView.circleColor = @[[UIColor blueColor],[UIColor redColor],[UIColor greenColor]];

It provide delegate:

@protocol FLADPageViewDelegate <NSObject>
@optional
-(void)didTapPageViewAtIndex: (NSInteger)index;
@end

Screen shot

Editor preferences pane

Editor preferences pane

Editor preferences pane

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation with CocoaPods

FLADPageView is available through CocoaPods. To install
it, simply add the following line to your Podfile.

Podfile

platform :ios, '8.0'

target 'TargetName' do
pod 'FLADPageView'
end

Then, run the following command:

pod install

Requirements

Minimum iOS Target 8.0

Dependency

Animation Inspire

License

FLADPageView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FLADPageView",
    "version": "1.0.1",
    "summary": "Carousel ad scrollview",
    "description": "Carousel AD view support auto-scroll,fetch image from url,support jpg/gif/png.",
    "homepage": "https://github.com/FelixLinBH/FLADPageView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Felix": "[email protected]"
    },
    "source": {
        "git": "https://github.com/FelixLinBH/FLADPageView.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "FLADPageView/Classes/**/*",
    "resource_bundles": {
        "FLADPageView": [
            "FLADPageView/Assets/*.png",
            "FLADPageView/Assets/*.jpg"
        ]
    },
    "public_header_files": "FLADPageView/Classes/**/*.h",
    "frameworks": "UIKit",
    "dependencies": {
        "Masonry": [],
        "DFImageManager": [],
        "DFImageManager/AFNetworking": [],
        "DFImageManager/GIF": []
    }
}

Pin It on Pinterest

Share This