developer
2023-05-20 c1ffd99c4b60066774eb2c97b31e4aaa014e7f51
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
//
//  WeiKouAdView.h
//  advertisement
//
//  Created by weikou on 16/4/20.
//  Copyright © 2016年 yuxingmin.com. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import "adModel.h"
#import "WeiKouNetWorkRequest.h"
 
typedef void(^viewBlock) (NSString *text);
 
@interface MyUIScrollView : UIScrollView
@end
@interface WeiKouAdView : UIView
{
    viewBlock ablock;
    NSTimer *_timer;
    NSInteger index;
    NSInteger switchtime;
    UIImageView *imageView;
    UIButton *closeButton;
}
 
//@property(nonatomic,strong) UIViewController *controller;
@property(nonatomic,strong) UIView *superView;
@property(nonatomic) adModel *model;
@property(nonatomic,strong) NSMutableArray *dataArray;
@property(nonatomic,strong) NSMutableArray *imageArray;
 
-(void)setSuperView:(UIView *)superView;
 
-(id)initWithFrame:(CGRect)frame withBlock:(viewBlock)block;
@end