TKUIHomeCardSearchResultsDelegate

public protocol TKUIHomeCardSearchResultsDelegate : AnyObject

This protocol defines the method you can use to receive message related to the search functionality provided in a TKUIHomeCard

  • This tells the delegate that a search result is selected

    Declaration

    Swift

    func homeCard(_ card: TKUIHomeCard, selected searchResult: MKAnnotation)

    Parameters

    card

    The TKUIHomeCard from which the search took place.

    searchResult

    The search result selected.