ios: fix compilation warnings

This commit is contained in:
Saúl Ibarra Corretgé 2019-04-09 12:46:29 +02:00 committed by Saúl Ibarra Corretgé
parent 024fc73e63
commit d37a0eee3a
5 changed files with 13 additions and 13 deletions

View File

@ -44,23 +44,23 @@
#pragma mak - This class is a singleton #pragma mak - This class is a singleton
+ (instancetype)sharedInstance; + (instancetype _Nonnull)sharedInstance;
#pragma mark - Methods that the App delegate must call #pragma mark - Methods that the App delegate must call
- (BOOL)application:(UIApplication *_Nonnull)application - (BOOL)application:(UIApplication *_Nonnull)application
didFinishLaunchingWithOptions:(NSDictionary *_Nonnull)launchOptions; didFinishLaunchingWithOptions:(NSDictionary *_Nonnull)launchOptions;
- (BOOL)application:(UIApplication * _Nonnull)application - (BOOL)application:(UIApplication *_Nonnull)application
continueUserActivity:(NSUserActivity * _Nonnull)userActivity continueUserActivity:(NSUserActivity *_Nonnull)userActivity
restorationHandler:(void (^ _Nullable)(NSArray * _Nullable))restorationHandler; restorationHandler:(void (^_Nullable)(NSArray<id<UIUserActivityRestoring>> *_Nonnull))restorationHandler;
- (BOOL)application:(UIApplication *)app - (BOOL)application:(UIApplication *_Nonnull)app
openURL:(NSURL *)url openURL:(NSURL *_Nonnull)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options; options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *_Nonnull)options;
#pragma mark - Utility methods #pragma mark - Utility methods
- (JitsiMeetConferenceOptions *)getInitialConferenceOptions; - (JitsiMeetConferenceOptions *_Nonnull)getInitialConferenceOptions;
@end @end

View File

@ -70,7 +70,7 @@
- (BOOL)application:(UIApplication *)application - (BOOL)application:(UIApplication *)application
continueUserActivity:(NSUserActivity *)userActivity continueUserActivity:(NSUserActivity *)userActivity
restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler { restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> *))restorationHandler {
JitsiMeetConferenceOptions *options = [self optionsFromUserActivity:userActivity]; JitsiMeetConferenceOptions *options = [self optionsFromUserActivity:userActivity];

View File

@ -67,7 +67,7 @@
@property (nonatomic, readonly) BOOL welcomePageEnabled; @property (nonatomic, readonly) BOOL welcomePageEnabled;
+ (instancetype)fromBuilder:(void (^)(JitsiMeetConferenceOptionsBuilder *))initBlock; + (instancetype _Nonnull)fromBuilder:(void (^_Nonnull)(JitsiMeetConferenceOptionsBuilder *_Nonnull))initBlock;
- (instancetype)init NS_UNAVAILABLE; - (instancetype _Nonnull)init NS_UNAVAILABLE;
@end @end

View File

@ -19,7 +19,7 @@
@interface JitsiMeetView () @interface JitsiMeetView ()
+ (instancetype)viewForExternalAPIScope:(NSString *)externalAPIScope; + (instancetype _Nullable)viewForExternalAPIScope:(NSString *_Nonnull)externalAPIScope;
+ (BOOL)setPropsInViews:(NSDictionary *_Nonnull)newProps; + (BOOL)setPropsInViews:(NSDictionary *_Nonnull)newProps;
@end @end

View File

@ -31,7 +31,7 @@
* is an already active conference it will be automatically left prior to * is an already active conference it will be automatically left prior to
* joining the new one. * joining the new one.
*/ */
- (void)join:(JitsiMeetConferenceOptions *)options; - (void)join:(JitsiMeetConferenceOptions *_Nullable)options;
/** /**
* Leaves the currently active conference. * Leaves the currently active conference.
*/ */