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
result
An array of
FlightBooking
items -
Called when fetching
FlightBooking
‘s fails.Declaration
Swift
func flightBookingFetchDidFailWith(_ error: Error)
Parameters
error
An
Error
explaining the results.