SearchViewDisplayConfig
public struct SearchViewDisplayConfig
Undocumented
-
Undocumented
Declaration
Swift
public var navigationBarConfig: NavigationBarConfig
-
Undocumented
Declaration
Swift
public var backgroundColor: UIColor
-
Undocumented
Declaration
Swift
public var searchBarTintColor: UIColor
-
Undocumented
Declaration
Swift
public var searchBarTextColor: UIColor
-
Undocumented
Declaration
Swift
public var searchViewTintColor: UIColor
-
Undocumented
Declaration
Swift
public var searchViewTextColor: UIColor
-
Undocumented
Declaration
Swift
public var useTuscanySegments: Bool
-
Undocumented
Declaration
Swift
public var segmentsFont: BooksFont
-
Undocumented
Declaration
Swift
public var segmentsSelectedFont: BooksFont?
-
Undocumented
Declaration
Swift
public var segmentsSelectedTextColor: UIColor?
-
Undocumented
Declaration
Swift
public var segmentsTintColor: UIColor
-
Undocumented
Declaration
Swift
public var segmentsBarColor: UIColor?
-
Undocumented
Declaration
Swift
public var segmentsTopPadding: CGFloat
-
Undocumented
Declaration
Swift
public var segmentsTopPaddingForSearch: CGFloat
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionFont: BooksFont
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionColor: UIColor
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionText: String
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionImage: UIImage?
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionImageTint: UIColor?
-
Undocumented
Declaration
Swift
public var searchAllPlaceholder: String
-
Undocumented
Declaration
Swift
public var neverShowSegments: Bool
-
Undocumented
Declaration
Swift
public var hidePodcasts: Bool
-
init(navigationBarConfig:
backgroundColor: searchBarTintColor: searchBarTextColor: searchViewTintColor: searchViewTextColor: useTuscanySegments: segmentsFont: segmentsSelectedTextColor: segmentsTintColor: segmentsTopPadding: segmentsTopPaddingForSearch: emptySearchDescriptionFont: emptySearchDescriptionColor: emptySearchDescriptionText: emptySearchDescriptionImage: emptySearchDescriptionImageTint: searchAllPlaceholder: neverShowSegments: hidePodcasts: ) Undocumented
Declaration
Swift
public init ( navigationBarConfig: NavigationBarConfig = .init(), backgroundColor: UIColor = UIColor(red: 0xE9 / 255.0, green: 0xEA / 255.0, blue: 0xED / 255.0, alpha: 1), searchBarTintColor: UIColor = UIColor(red: 0x00 / 255.0, green: 0x19 / 255.0, blue: 0x4C / 255.0, alpha: 1), searchBarTextColor: UIColor = UIColor(white: 0x19 / 255.0, alpha: 1), searchViewTintColor: UIColor = UIColor(white: 0x19 / 255.0, alpha: 1), searchViewTextColor: UIColor = UIColor(white: 0x19 / 255.0, alpha: 1), useTuscanySegments: Bool = false, segmentsFont: BooksFont = .init(style: .title, size: 13), segmentsSelectedTextColor: UIColor? = .white, segmentsTintColor: UIColor = UIColor(red: 0x00 / 255.0, green: 0x19 / 255.0, blue: 0x4C / 255.0, alpha: 1), segmentsTopPadding: CGFloat = 26, segmentsTopPaddingForSearch: CGFloat = 26, emptySearchDescriptionFont: BooksFont = .init(style: .body, size: 14), emptySearchDescriptionColor: UIColor = .init(white: 0x19 / 255.0, alpha: 1), emptySearchDescriptionText: String? = nil, emptySearchDescriptionImage: UIImage? = nil, emptySearchDescriptionImageTint: UIColor? = nil, searchAllPlaceholder: String? = nil, neverShowSegments: Bool = false, hidePodcasts: Bool = false )