CategoryViewDisplayConfig
public struct CategoryViewDisplayConfig
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum Style : Sendable
-
Undocumented
Declaration
Swift
public var style: Style
-
Undocumented
Declaration
Swift
public var buttonStyle: BooksDisplayConfig.ButtonStyle
-
Undocumented
Declaration
Swift
public var navigationBarConfig: NavigationBarConfig
-
Undocumented
Declaration
Swift
public var searchNavigationBarConfig: NavigationBarConfig
-
Undocumented
Declaration
Swift
public var backgroundColor: UIColor
-
Undocumented
Declaration
Swift
public var removeBarButtonItemFont: BooksFont
-
Undocumented
Declaration
Swift
public var removeBarButtonItemTitleColor: UIColor
-
Undocumented
Declaration
Swift
public var cellBackgroundColor: UIColor
-
Undocumented
Declaration
Swift
public var cellSelectedBackgroundColor: UIColor
-
Undocumented
Declaration
Swift
public var cellShadowConfig: ShadowConfig?
-
Undocumented
Declaration
Swift
public var cellTitleCompactFont: BooksFont
-
Undocumented
Declaration
Swift
public var cellTitleRegularFont: BooksFont
-
Undocumented
Declaration
Swift
public var cellTitleColor: UIColor
-
Undocumented
Declaration
Swift
public var cellAuthorCompactFont: BooksFont
-
Undocumented
Declaration
Swift
public var cellAuthorRegularFont: BooksFont
-
Undocumented
Declaration
Swift
public var cellAuthorColor: UIColor
-
Undocumented
Declaration
Swift
public var cellTextBoxBorderColor: UIColor?
-
Undocumented
Declaration
Swift
public var cellTextBoxBorderWidth: CGFloat
-
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 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 emptyReadingListDescriptionFont: BooksFont
-
Undocumented
Declaration
Swift
public var emptyReadingListDescriptionColor: UIColor
-
Undocumented
Declaration
Swift
public var emptyReadingListButtonTitleFont: BooksFont
-
Undocumented
Declaration
Swift
public var emptyReadingListButtonTitleColor: UIColor
-
Undocumented
Declaration
Swift
public var emptyReadingListButtonBackgroundColor: UIColor
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionFont: BooksFont
-
Undocumented
Declaration
Swift
public var emptySearchDescriptionColor: UIColor
-
Undocumented
Declaration
Swift
public var removeBooksButtonConfig: OverlayButtonConfig
-
Undocumented
Declaration
Swift
public var selectAllButtonConfig: OverlayButtonConfig
-
Undocumented
Declaration
Swift
public var selectedOverlayColor: UIColor
-
Undocumented
Declaration
Swift
public var selectedOverlayTextStyle: BooksTextStyle
-
Undocumented
Declaration
Swift
public var neverShowSegments: Bool
-
Undocumented
Declaration
Swift
public var hidePodcastsInSearch: Bool
-
init(style:
buttonStyle: navigationBarConfig: searchNavigationBarConfig: backgroundColor: removeBarButtonItemFont: removeBarButtonItemTitleColor: cellBackgroundColor: cellSelectedBackgroundColor: cellShadowConfig: cellTitleFont: cellTitleCompactFont: cellTitleRegularFont: cellTitleColor: cellAuthorCompactFont: cellAuthorRegularFont: cellAuthorColor: cellTextBoxBorderColor: cellTextBoxBorderWidth: searchBarTintColor: searchBarTextColor: searchViewTintColor: searchViewTextColor: segmentsFont: segmentsSelectedTextColor: segmentsTintColor: segmentsTopPadding: segmentsTopPaddingForSearch: emptyReadingListDescriptionFont: emptyReadingListDescriptionColor: emptyReadingListButtonTitleFont: emptyReadingListButtonTitleColor: emptyReadingListButtonBackgroundColor: emptySearchDescriptionFont: emptySearchDescriptionColor: removeBooksButtonConfig: selectAllButtonConfig: selectedOverlayColor: selectedOverlayTextStyle: neverShowSegments: hidePodcastsInSearch: ) Undocumented
Declaration
Swift
public init( style: Style = .piedmont, buttonStyle: BooksDisplayConfig.ButtonStyle = .capsule, navigationBarConfig: NavigationBarConfig = .init(), searchNavigationBarConfig: NavigationBarConfig = .init(), backgroundColor: UIColor = UIColor(red: 0xE9 / 255.0, green: 0xEA / 255.0, blue: 0xED / 255.0, alpha: 1), removeBarButtonItemFont: BooksFont = .init(style: .boldBody, size: 16), removeBarButtonItemTitleColor: UIColor = .red, cellBackgroundColor: UIColor = .white, cellSelectedBackgroundColor: UIColor = .init(red: 0xD9 / 255.0, green: 0xE1 / 255.0, blue: 0xF2 / 255.0, alpha: 1), cellShadowConfig: ShadowConfig? = ShadowConfig(), cellTitleFont: BooksFont = .init(style: .boldBody, size: 11), cellTitleCompactFont: BooksFont = .init(style: .boldBody, size: 11), cellTitleRegularFont: BooksFont = .init(style: .boldBody, size: 16), cellTitleColor: UIColor = .black, cellAuthorCompactFont: BooksFont = .init(style: .body, size: 10), cellAuthorRegularFont: BooksFont = .init(style: .body, size: 15), cellAuthorColor: UIColor = .black, cellTextBoxBorderColor: UIColor? = nil, cellTextBoxBorderWidth: CGFloat = 0, 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), 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, emptyReadingListDescriptionFont: BooksFont = .init(style: .body, size: 14), emptyReadingListDescriptionColor: UIColor = .init(white: 0x19 / 255.0, alpha: 1), emptyReadingListButtonTitleFont: BooksFont = .init(style: .title, size: 12), emptyReadingListButtonTitleColor: UIColor = .white, emptyReadingListButtonBackgroundColor: UIColor = .init(red: 0x00 / 255.0, green: 0x19 / 255.0, blue: 0x4C / 255.0, alpha: 1), emptySearchDescriptionFont: BooksFont = .init(style: .body, size: 14), emptySearchDescriptionColor: UIColor = .init(white: 0x19 / 255.0, alpha: 1), removeBooksButtonConfig: OverlayButtonConfig = .init( textStyle: .init(color: .black, font: BooksFont(style: .body, size: 15)), backgroundColor: .white, borderColor: .red, borderWidth: 1 ), selectAllButtonConfig: OverlayButtonConfig = .init(), selectedOverlayColor: UIColor = .init(white: 0, alpha: 0.5), selectedOverlayTextStyle: BooksTextStyle = .init(color: .white, font: BooksFont(style: .body, size: 15)), neverShowSegments: Bool = false, hidePodcastsInSearch: Bool = false )