BBASMBannerAdStyleInner.h 1018 Bytes
//
//  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