BBASMBannerAdStyleInner.h
1018 Bytes
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
41
42
//
// BBASMBannerAdStyleInner.h
// SWAN
//
// Created by baidu on 2018/10/21.
// Copyright © 2018年 baidu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class BBASMBannerAdInner;
@interface BBASMBannerAdStyleInner : NSObject
// 左上角横坐标
@property (nonatomic, strong) NSNumber *left;
// 左上角纵坐标
@property (nonatomic, strong) NSNumber *top;
// 宽度
@property (nonatomic, strong) NSNumber *width;
// 高度
@property (nonatomic, strong) NSNumber *height;
// 真实宽度
@property (nonatomic, strong) NSNumber *realWidth;
// 真实高度
@property (nonatomic, strong) NSNumber *realHeight;
// style内部对于banner的弱引用
@property (nonatomic, weak) UIView *weakView;
/**
* @brief 初始化style对象
*
* @param style style字典
* @param appid appid
* @return 对象
*/
- (instancetype)initWithStyle:(NSDictionary *)style
inner:(BBASMBannerAdInner *)inner
appid:(NSString *)appid;
@end