SearchingTheme

public struct SearchingTheme : SearchingThemeProtocol

SearchingTheme provides all styling elements required by the search components. It can be used as is, or custolmised for particular needs.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

Public

  • Default theme for search components. Can be used as a starting point for easy UI customization.

    Declaration

    Swift

    public static var `default`: SearchingTheme { get }
  • Provides a library of components that can be styled using predefined or custom styles.

    Declaration

    Swift

    public var components: StylableComponents
  • Images shared between different app components.

    Declaration

    Swift

    public var commonImages: ImagesThemeProtocol
  • Colors shared between different app components.

    Declaration

    Swift

    public var colors: ColorsThemeProtocol
  • Fonts shared between different app components.

    Declaration

    Swift

    public var fonts: FontsThemeProtocol
  • Images used in the search components.

    Declaration

    Swift

    public var searchingImages: SearchingImagesThemeProtocol
  • Additional attributes of the search bar view.

    Declaration

    Swift

    public var searchBarAttributes: SearchBarAttributes
  • Style to customize the appearance of a Search Results cell

    Declaration

    Swift

    public var searchResultsCellStyle: SearchResultsCellStyling?
  • Theme that only provides the default search UI style.

    • withTheme: Theme that contains common UI styles that can be shared between other app components.

    Declaration

    Swift

    public static func `default`(withTheme theme: ThemeProtocol) -> SearchingTheme