CategoryDataProvider

public protocol CategoryDataProvider

Protocol to provide custom list of category

  • Provide custom list of category buttons in the row under search textfield. Only first 4 categories would be used. Default values would be added if necessary.

    Declaration

    Swift

    var categorySlots: [SearchCategory] { get }
  • Provide custom vertical list of categories

    Declaration

    Swift

    var categoryList: [SearchCategory] { get }