PassFetchDelegate

public protocol PassFetchDelegate : AnyObject

Notified of pass fetch results

  • Called when the Passes were fetched successfully

    • result: Fetched Array<Pass>

    Declaration

    Swift

    func passFetchDidSucceedWith(_ result: [Pass])
  • Called when there was an error fetching the passes

    • error: The Error representing the reason for failure. No specific errors to look for here. Best course of action is to just display a generic error message.

    Declaration

    Swift

    func passFetchDidFailWith(_ error: Error)