-
Notifications
You must be signed in to change notification settings - Fork 8
/
AdScrollView.h
40 lines (31 loc) · 1 KB
/
AdScrollView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// AdScrollView.h
// 广告循环滚动效果
//
// Created by QzydeMac on 14/12/20.
// Copyright (c) 2014年 Qzy. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, UIPageControlShowStyle)
{
UIPageControlShowStyleNone,//default
UIPageControlShowStyleLeft,
UIPageControlShowStyleCenter,
UIPageControlShowStyleRight,
};
typedef NS_ENUM(NSUInteger, AdTitleShowStyle)
{
AdTitleShowStyleNone,
AdTitleShowStyleLeft,
AdTitleShowStyleCenter,
AdTitleShowStyleRight,
};
@interface AdScrollView : UIScrollView<UIScrollViewDelegate>
@property (retain,nonatomic,readonly) UIPageControl * pageControl;
@property (retain,nonatomic,readwrite) NSArray * imageNameArray;
@property (assign,nonatomic,readwrite) UIPageControlShowStyle PageControlShowStyle;
@property (assign,nonatomic,readonly) AdTitleShowStyle adTitleStyle;
@end
// 版权属于原作者
// http://code4app.com (cn) http://code4app.net (en)
// 发布代码于最专业的源码分享网站: Code4App.com