BookViewDisplayConfig
public struct BookViewDisplayConfig
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum RowColors : Sendable
-
Undocumented
See moreDeclaration
Swift
public enum Style
-
Undocumented
See moreDeclaration
Swift
public enum ActionsMenuLocation : Sendable
-
Undocumented
See moreDeclaration
Swift
public struct RatingsInputViewConfig
-
Undocumented
See moreDeclaration
Swift
public struct BookViewTuscany
-
Undocumented
Declaration
Swift
public var actionsMenuConfig: BookActionsMenuDisplayConfig
-
Undocumented
Declaration
Swift
public var actionsMenuLocation: ActionsMenuLocation
-
Undocumented
Declaration
Swift
public var alwaysHideDeleteButtons: Bool
-
Undocumented
Declaration
Swift
public var navigationBarConfig: NavigationBarConfig
-
Undocumented
Declaration
Swift
public var preferredStatusBarStyle: DynamicStatusBarStyle?
-
Undocumented
Declaration
Swift
public var backgroundColor: UIColor
-
Undocumented
Declaration
Swift
public var addToReadingListColor: UIColor
-
Undocumented
Declaration
Swift
public var addToReadingListFont: BooksFont
-
Undocumented
Declaration
Swift
public var coverShadowConfig: ShadowConfig?
-
Undocumented
Declaration
Swift
public var rowColors: RowColors
-
Undocumented
Declaration
Swift
public var buttonConfig: ButtonConfig
-
Undocumented
Declaration
Swift
public var deleteButtonFont: BooksFont
-
Undocumented
Declaration
Swift
public var deleteButtonTitleColor: UIColor
-
Undocumented
Declaration
Swift
public var titleTextColor: UIColor
-
Undocumented
Declaration
Swift
public var titleFont: BooksFont
-
Undocumented
Declaration
Swift
public var authorTextColor: UIColor
-
Undocumented
Declaration
Swift
public var authorFont: BooksFont
-
Undocumented
Declaration
Swift
public var upcomingPublicationTextColor: UIColor
-
Undocumented
Declaration
Swift
public var upcomingPublicationFont: BooksFont
-
Undocumented
Declaration
Swift
public var bodyTextColor: UIColor
-
Undocumented
Declaration
Swift
public var bodyFont: BooksFont
-
Undocumented
Declaration
Swift
public var metadataTitleTextColor: UIColor
-
Undocumented
Declaration
Swift
public var metadataTitleFont: BooksFont
-
Undocumented
Declaration
Swift
public var metadataTitleUppercase: Bool
-
Undocumented
Declaration
Swift
public var metadataValueTextColor: UIColor
-
Undocumented
Declaration
Swift
public var metadataValueFont: BooksFont
-
Undocumented
Declaration
Swift
public var reviewTitleTextColor: UIColor
-
Undocumented
Declaration
Swift
public var reviewTitleFont: BooksFont
-
Undocumented
Declaration
Swift
public var trackViewConfig: TrackViewConfig
-
Undocumented
Declaration
Swift
public var openArticleBorderWidth: CGFloat
-
Undocumented
Declaration
Swift
public var openArticleFont: BooksFont
-
Undocumented
Declaration
Swift
public var showMoreColor: UIColor?
-
Undocumented
Declaration
Swift
public var showMoreFont: BooksFont
-
Undocumented
Declaration
Swift
public var shouldShowBlurredBackground: Bool
-
Undocumented
Declaration
Swift
public var blurredBackgroundOverlayColor: UIColor
-
Undocumented
Declaration
Swift
public var offlineFont: BooksFont
-
Undocumented
Declaration
Swift
public var offlineColor: UIColor
-
Undocumented
Declaration
Swift
public var statusBarBackground: BackgroundViewConfig
-
Undocumented
Declaration
Swift
public var downloadProgressBarConfig: CircularProgressBarConfig
-
Undocumented
Declaration
Swift
public var ratingsInputViewConfig: RatingsInputViewConfig
-
Undocumented
Declaration
Swift
public var verticalButtonColor: UIColor
-
Undocumented
Declaration
Swift
public var verticalButtonFillColor: UIColor
-
Undocumented
Declaration
Swift
public var verticalButtonFont: BooksFont
-
Undocumented
Declaration
Swift
public var style: Style
-
Undocumented
Declaration
Swift
public var defaultCoverWidth: Int
-
Undocumented
Declaration
Swift
public var defaultCoverHeight: Int
-
init(actionsMenuConfig:
actionsMenuLocation: alwaysHideDeleteButtons: navigationBarConfig: preferredStatusBarStyle: backgroundColor: addToReadingListColor: addToReadingListFont: coverShadowConfig: rowColors: buttonConfig: deleteButtonFont: deleteButtonTitleColor: titleTextColor: titleFont: authorTextColor: authorFont: upcomingPublicationTextColor: upcomingPublicationFont: bodyTextColor: bodyFont: metadataTitleTextColor: metadataTitleFont: metadataTitleUppercase: metadataValueTextColor: metadataValueFont: reviewTitleTextColor: reviewTitleFont: trackViewConfig: openArticleFont: showMoreColor: openArticleBorderWidth: showMoreFont: shouldShowBlurredBackground: blurredBackgroundOverlayColor: offlineFont: offlineColor: statusBarBackground: downloadProgressBarConfig: ratingsInputViewConfig: verticalButtonColor: verticalButtonFillColor: verticalButtonFont: style: defaultCoverWidth: defaultCoverHeight: ) Undocumented
Declaration
Swift
public init( actionsMenuConfig: BookActionsMenuDisplayConfig = .init(), actionsMenuLocation: ActionsMenuLocation = .none, alwaysHideDeleteButtons: Bool = true, navigationBarConfig: NavigationBarConfig = .init( barTintColor: .clear, titleFont: nil, titleColor: nil, isTranslucent: true, backgroundImage: UIImage(), shadowImage: UIImage() ), preferredStatusBarStyle: DynamicStatusBarStyle? = nil, backgroundColor: UIColor = UIColor(white: 0x13 / 255.0, alpha: 1), addToReadingListColor: UIColor = .white, addToReadingListFont: BooksFont = .init(style: .body, size: 12), coverShadowConfig: ShadowConfig? = nil, rowColors: RowColors = .fixed(review: UIColor(red: 0x00 / 255.0, green: 0x19 / 255.0, blue: 0x4B / 255.0, alpha: 1), metadata: .white), buttonConfig: ButtonConfig = .init(), deleteButtonFont: BooksFont = .init(style: .title, size: 9), deleteButtonTitleColor: UIColor = .white, titleTextColor: UIColor = .white, titleFont: BooksFont = .init(style: .mediumTitle, size: 23), authorTextColor: UIColor = .white, authorFont: BooksFont = .init(style: .title, size: 13), upcomingPublicationTextColor: UIColor = .white, upcomingPublicationFont: BooksFont = .init(style: .mediumTitle, size: 23), bodyTextColor: UIColor = .white, bodyFont: BooksFont = .init(style: .lightBody, size: 13), metadataTitleTextColor: UIColor = UIColor(white: 0x33 / 255.0, alpha: 1), metadataTitleFont: BooksFont = .init(style: .lightTitle, size: 11), metadataTitleUppercase: Bool = false, metadataValueTextColor: UIColor = .black, metadataValueFont: BooksFont = .init(style: .body, size: 16), reviewTitleTextColor: UIColor = .white, reviewTitleFont: BooksFont = .init(style: .boldBody, size: 15), trackViewConfig: TrackViewConfig = .init(), openArticleFont: BooksFont = .init(style: .body, size: 12), showMoreColor: UIColor? = nil, openArticleBorderWidth: CGFloat = 0.5, showMoreFont: BooksFont = .init(style: .body, size: 12), shouldShowBlurredBackground: Bool = true, blurredBackgroundOverlayColor: UIColor = .init(red: 0x19 / 255.0, green: 0x19 / 255.0, blue: 0x19 / 255.0, alpha: 0x66 / 255.0), offlineFont: BooksFont = .init(style: .italicBody, size: 15), offlineColor: UIColor = .white, statusBarBackground: BackgroundViewConfig = .none, downloadProgressBarConfig: CircularProgressBarConfig = .init( trackWidth: 1, trackColor: .white, fillColor: .clear, progressWidth: 2, progressColor: .white, progressOffset: 2 ), ratingsInputViewConfig: RatingsInputViewConfig = .init(), verticalButtonColor: UIColor = .white, verticalButtonFillColor: UIColor = .black, verticalButtonFont: BooksFont = .init(style: .body, size: 12), style: Style = .piedmont, defaultCoverWidth: Int? = nil, defaultCoverHeight: Int? = nil )