From b07a94b0035c57468fd4996b3451e7d6a776bf9d Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Mon, 17 Aug 2015 11:57:32 -0400 Subject: [PATCH] [Added nullability to `findLoginIn1PasswordWithURLString:` --- OnePasswordExtension.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OnePasswordExtension.m b/OnePasswordExtension.m index e825019..4b5d6bf 100644 --- a/OnePasswordExtension.m +++ b/OnePasswordExtension.m @@ -315,7 +315,7 @@ - (BOOL)isSystemAppExtensionAPIAvailable { #endif } -- (void)findLoginIn1PasswordWithURLString:(NSString *)URLString collectedPageDetails:(NSString *)collectedPageDetails forWebViewController:(UIViewController *)forViewController sender:(id)sender withWebView:(id)webView showOnlyLogins:(BOOL)yesOrNo completion:(void (^)(BOOL success, NSError *error))completion { +- (void)findLoginIn1PasswordWithURLString:(nonnull NSString *)URLString collectedPageDetails:(nullable NSString *)collectedPageDetails forWebViewController:(nonnull UIViewController *)forViewController sender:(nullable id)sender withWebView:(nonnull id)webView showOnlyLogins:(BOOL)yesOrNo completion:(void (^)(BOOL success, NSError * __nullable error))completion { if ([URLString length] == 0) { NSError *URLStringError = [OnePasswordExtension failedToObtainURLStringFromWebViewError]; NSLog(@"Failed to findLoginIn1PasswordWithURLString: %@", URLStringError);