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.- 
                  
                  
Initializes a search components theme with the common UI theme, search-only images and search-only attributes.
- theme: Theme that contains common UI styles that can be shared between other app components.
 - searchingImages: Provider of images only used in search component.
 - searchBarAttributes: Additional attributes of the search bar.
 - searchingResultsCellStyle: Defines the Search Results Cell appearance.
 
Declaration
Swift
public init( withTheme theme: ThemeProtocol, searchingImages: SearchingImagesThemeProtocol, searchBarAttributes: SearchBarAttributes, searchingResultsCellStyle: SearchResultsCellStyling? = nil ) 
- 
                  
                  
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.
Declaration
Swift
public static func `default`(withTheme theme: ThemeProtocol) -> SearchingThemeParameters
themeTheme that contains common UI styles that can be shared between other app components.
Return Value
An instance of
SearchingTheme. 
        
 
          TomTom SDK for iOS (0.40.0)
        
          SearchingTheme