Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// LXAdScrollView.h
|
||||
// LXAdScrollview
|
||||
//
|
||||
// Created by imac on 16/11/8.
|
||||
// Copyright © 2016年 xiang. All rights reserved.
|
||||
//
|
||||
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface LXAdScrollView : UIView
|
||||
/*
|
||||
*显示广告的数据源,可以有三种类型 1:NSString,图片的网络地址,采用SDWebImage加载
|
||||
2:NSString,本地图片文件名
|
||||
* 3:使用UIImage
|
||||
* 此属性赋值后会立即开启定时器,需要在下面两个属性设置完后再设置
|
||||
*/
|
||||
@property (nonatomic, copy) NSArray *adList;
|
||||
@property (nonatomic, assign, readonly) NSInteger currentPage;
|
||||
@property (nonatomic, assign) NSTimeInterval animationDuration;//自动滚动动画时间,默认2s
|
||||
@property (nonatomic, strong) UIPageControl *pageControl;
|
||||
@property (nonatomic , copy) void (^tapActionBlock)(LXAdScrollView *adScrollView);
|
||||
@property (nonatomic, strong) UIImageView *currentImageView;
|
||||
@property (nonatomic, strong) UIImageView *leftImageView;
|
||||
@property (nonatomic, strong) UIImageView *rightImageView;
|
||||
@property (nonatomic, strong) UIScrollView *scrollView;
|
||||
@end
|
||||
Reference in New Issue
Block a user