Closed bobergj closed 6 years ago
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.
Btw, the parameter name "completionHandler" is the platform convention for what you call "done".
In Swift the generated interface becomes:
So one cannot check if the error is nil.