Swift |
|
public struct HCLThemeConfigure extension HCLThemeConfigure: Equatable
|
The theme configuration object that can be used to customize the UI for the first/Home search screen.
Swift |
|
let theme = HCLThemeConfigure(defaultFont: UIFont(name: "HelveticaNeue", size: 14.0), titleMainFont: UIFont(name: "HelveticaNeue", size: 20.0), titleSecondaryFont: UIFont(name: "HelveticaNeue-Medium", size: 16.0), searchResultTotalFont: UIFont(name: "HelveticaNeue-Medium", size: 14.0), searchResultTitleFont: UIFont(name: "HelveticaNeue", size: 16.0),... let manager = HCLManager.shared manager.initialize(apiKey: <YOUR_API_KEY>, theme: theme)
|
All properties of the theme configuration are optional.
Assign theme configuration while initializing HCLManager and before adding search screens into your app. If values are not provided/set during initialization of HCLManager, then default values are loaded into the UI.
The ==(_:_:) generic operator returns a boolean value indicating whether the corresponding components of two tuples are equal.
Swift |
|
public static func == (lhs: HCLThemeConfigure, rhs: HCLThemeConfigure) -> Bool
|
lhs |
A tuple of Equatable elements. |
rhs |
Another tuple of elements of the same type as lhs. |
A boolean value to indicate if the two tuples are equal.
HealthCare Locator 1.0 and higher