FlightBookingFetchDelegate
public protocol FlightBookingFetchDelegate : AnyObject
Notified of FlightBooking fetch results.
-
Called when fetching
FlightBooking‘s successfully returns some results.Declaration
Swift
func flightBookingFetchDidSucceedWith(_ result: [FlightBooking])Parameters
resultAn array of
FlightBookingitems -
Called when fetching
FlightBooking‘s fails.Declaration
Swift
func flightBookingFetchDidFailWith(_ error: Error)Parameters
errorAn
Errorexplaining the results.
FlightBookingFetchDelegate Protocol Reference