BadgeViewProtocol

@MainActor
public protocol BadgeViewProtocol

提醒灯视图协议

  • badgeLabel Default implementation

    提醒灯文本标签,默认nil

    Default Implementation

    Declaration

    Swift

    @MainActor
    var badgeLabel: UILabel? { get }
  • badgeHeight Default implementation

    提醒灯高度,默认zero

    Default Implementation

    Declaration

    Swift

    @MainActor
    var badgeHeight: CGFloat { get }
  • badgeOffset Default implementation

    通用提醒灯右上偏移值(正外负内),默认zero

    Default Implementation

    Declaration

    Swift

    @MainActor
    var badgeOffset: CGPoint { get }