LaunchAdModel.h 846 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // LaunchAdModel.h
  3. // XHLaunchAdExample
  4. //
  5. // Created by zhuxiaohui on 2016/6/28.
  6. // Copyright © 2016年 it7090.com. All rights reserved.
  7. // 代码地址:https://github.com/CoderZhuXH/XHLaunchAd
  8. // 广告数据模型
  9. #import <Foundation/Foundation.h>
  10. #import <UIKit/UIKit.h>
  11. @interface LaunchAdModel : NSObject
  12. /**
  13. * 广告URL
  14. */
  15. @property (nonatomic, copy) NSString *content;
  16. /**
  17. * 点击打开连接
  18. */
  19. @property (nonatomic, copy) NSString *openUrl;
  20. /**
  21. * 广告分辨率
  22. */
  23. @property (nonatomic, copy) NSString *contentSize;
  24. /**
  25. * 广告停留时间
  26. */
  27. @property (nonatomic, assign) NSInteger duration;
  28. /**
  29. * 分辨率宽
  30. */
  31. @property(nonatomic,assign,readonly)CGFloat width;
  32. /**
  33. * 分辨率高
  34. */
  35. @property(nonatomic,assign,readonly)CGFloat height;
  36. - (instancetype)initWithDict:(NSDictionary *)dict;
  37. @end