BLTNItemAppearance

@objc
public class BLTNItemAppearance : NSObject

An object that defines the appearance of bulletin items.

  • The tint color to apply to the action button (default .link on iOS 13 and .blue on older systems).

    Declaration

    Swift

    @objc
    public var actionButtonColor: UIColor
  • The button image to apply to the action button

    Declaration

    Swift

    @objc
    public var actionButtonImage: UIImage?
  • The title color to apply to action button (default white).

    Declaration

    Swift

    @objc
    public var actionButtonTitleColor: UIColor
  • The border color to apply to action button.

    Declaration

    Swift

    @objc
    public var actionButtonBorderColor: UIColor?
  • The border width to apply to action button.

    Declaration

    Swift

    @objc
    public var actionButtonBorderWidth: CGFloat
  • The title color to apply to the alternative button (default .link on iOS 13 and .blue on older systems).

    Declaration

    Swift

    @objc
    public var alternativeButtonTitleColor: UIColor
  • The border color to apply to the alternative button.

    Declaration

    Swift

    @objc
    public var alternativeButtonBorderColor: UIColor?
  • The border width to apply to the alternative button.

    Declaration

    Swift

    @objc
    public var alternativeButtonBorderWidth: CGFloat
  • The tint color to apply to the imageView (if image rendered in template mode, default .link on iOS 13 and .blue on older systems).

    Declaration

    Swift

    @objc
    public var imageViewTintColor: UIColor
  • The color of title text labels (default .secondaryLabel on iOS 13 and light gray on older systems).

    Declaration

    Swift

    @objc
    public var titleTextColor: UIColor
  • The color of description text labels (default .label on iOS 13 and black on older systems).

    Declaration

    Swift

    @objc
    public var descriptionTextColor: UIColor
  • An optional custom font to use for the title label. Set this to nil to use the system font.

    Declaration

    Swift

    @objc
    public var titleFontDescriptor: UIFontDescriptor?
  • An optional custom font to use for the description label. Set this to nil to use the system font.

    Declaration

    Swift

    @objc
    public var descriptionFontDescriptor: UIFontDescriptor?
  • An optional custom font to use for the buttons. Set this to nil to use the system font.

    Declaration

    Swift

    @objc
    public var buttonFontDescriptor: UIFontDescriptor?
  • Whether the description text should be displayed with a smaller font.

    You should set this to true if your text is long (more that two sentences).

    Declaration

    Swift

    @objc
    public var shouldUseCompactDescriptionText: Bool