Closed beeth0ven closed 8 years ago
In AWSMobileHubHelper's protocol AWSSignInProvider , There is a function:
AWSSignInProvider
public func login(completionHandler: (AnyObject, NSError) -> Void)
I think the parameters it should be optional type like this:
public func login(completionHandler: (AnyObject?, NSError?) -> Void)
I think this is the same kind of issue with this one:
NSError is imported as non-optional in swift in didCompletePasswordAuthenticationStepWithError
fixed. You can find the mobile hub code in this repo aws/aws-mobilehub-helper-ios
In AWSMobileHubHelper's protocol
AWSSignInProvider
, There is a function:public func login(completionHandler: (AnyObject, NSError) -> Void)
I think the parameters it should be optional type like this:
public func login(completionHandler: (AnyObject?, NSError?) -> Void)
I think this is the same kind of issue with this one:
NSError is imported as non-optional in swift in didCompletePasswordAuthenticationStepWithError