Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FITAPurchaseReporter sendReport error incorrectly annotated as nonnull #3

Closed
bobergj opened this issue Jan 26, 2018 · 1 comment
Closed
Assignees

Comments

@bobergj
Copy link

bobergj commented Jan 26, 2018

In Swift the generated interface becomes:

open func send(_ report: FITAPurchaseReport, done: ((Error) -> Swift.Void)? = nil) -> Bool

So one cannot check if the error is nil.

@bobergj
Copy link
Author

bobergj commented Jan 26, 2018

Btw, the parameter name "completionHandler" is the platform convention for what you call "done".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants