Skip to content

Commit b26aef6

Browse files
committed
Merge branch 'release/1.4.1'
2 parents 8756217 + 081fa8c commit b26aef6

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

ios/Classes/Page/FAQAdBannerView.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
#import "FAQBaseAdPage.h"
99
#import "FlutterQqAdsPlugin.h"
1010
@interface FAQAdBannerView : FAQBaseAdPage<FlutterPlatformView>
11-
@property (strong,nonatomic) FlutterQqAdsPlugin *plugin;
12-
- (instancetype)initWithFrame:(CGRect)frame
13-
viewIdentifier:(int64_t)viewId
14-
arguments:(id _Nullable)args
15-
binaryMessenger:(NSObject<FlutterBinaryMessenger>* _Nullable)messenger plugin:(FlutterQqAdsPlugin* _Nullable) plugin;
11+
@property (strong,nonatomic,nonnull) FlutterQqAdsPlugin *plugin;
12+
- (nonnull instancetype)initWithFrame:(CGRect)frame
13+
viewIdentifier:(int64_t)viewId
14+
arguments:(id _Nullable)args
15+
binaryMessenger:(NSObject<FlutterBinaryMessenger>* _Nullable)messenger plugin:(FlutterQqAdsPlugin* _Nullable) plugin;
1616

17-
- (UIView*)view;
17+
- (nonnull UIView*)view;
1818
@end

ios/Classes/Page/FAQBaseAdPage.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@
1111
#import "FAQAdRewardEvent.h"
1212
#import "FAQAdEventAction.h"
1313
// 广告位id
14-
static NSString *const kPosId=@"posId";
14+
static NSString * _Nonnull const kPosId=@"posId";
1515

1616
// 基础广告页面
1717
@interface FAQBaseAdPage : NSObject
1818
// 广告位id
19-
@property (weak,nonatomic) NSString *posId;
19+
@property (weak,nonatomic,nullable) NSString *posId;
2020
// 事件消息
21-
@property (strong, nonatomic) FlutterEventSink eventSink;
21+
@property (strong, nonatomic,nonnull) FlutterEventSink eventSink;
2222
// Window
23-
@property (strong,nonatomic) UIWindow *mainWin;
23+
@property (strong,nonatomic,nonnull) UIWindow *mainWin;
2424
// 根控制器
25-
@property (strong,nonatomic) UIViewController *rootController;
25+
@property (strong,nonatomic,nonnull) UIViewController *rootController;
2626
// 屏幕宽度
2727
@property CGFloat width;
2828
// 屏幕高度
2929
@property CGFloat height;
3030
// 显示广告
31-
- (void) showAd:(FlutterMethodCall *)call eventSink:(nonnull FlutterEventSink) events;
31+
- (void) showAd:(nonnull FlutterMethodCall *)call eventSink:(nonnull FlutterEventSink) events;
3232
// 加载广告
33-
- (void) loadAd:(FlutterMethodCall *) call;
33+
- (void) loadAd:(nonnull FlutterMethodCall *) call;
3434
// 发送广告事件
35-
-(void) sendEvent:(FAQAdEvent *) event;
35+
-(void) sendEvent:(nonnull FAQAdEvent *) event;
3636
// 发送广告事件
37-
-(void) sendEventAction:(NSString *) action;
37+
-(void) sendEventAction:(nonnull NSString *) action;
3838
// 发送广告错误事件
39-
-(void) sendErrorEvent:(NSInteger) errCode withErrMsg:(NSString*) errMsg;
39+
-(void) sendErrorEvent:(NSInteger) errCode withErrMsg:(nonnull NSString*) errMsg;
4040
@end

0 commit comments

Comments
 (0)