Protocol
TchekReportDelegate
public protocol TchekReportDelegate
A protocol to implement in order to be notified of events from the Report screen
Usage:
extension ViewController: TchekReportDelegate {
func onReportUpdate(tchekScan: TchekScan) {
print("\(self): onReportUpdate: tchekScan: \(tchekScan.id)")
}
}
Requirements
onReportUpdate(tchekScan:)
func onReportUpdate(tchekScan: TchekScan)
Method called when the current report is updated
-
Parameters tchekScan: The TchekScan object that was updated