BarrageCell

@MainActor
open class BarrageCell : UIView

Undocumented

  • Undocumented

    Declaration

    Swift

    @MainActor
    public static let barrageAnimationKey: String
  • 是否是空闲状态

    Declaration

    Swift

    @MainActor
    open var isIdle: Bool
  • 开始闲置的时间, 闲置超过5秒的, 自动回收内存

    Declaration

    Swift

    @MainActor
    open var idleTime: TimeInterval
  • Undocumented

    Declaration

    Swift

    @MainActor
    open var barrageDescriptor: BarrageDescriptor?
  • Undocumented

    Declaration

    Swift

    @MainActor
    open var trackIndex: Int
  • Undocumented

    Declaration

    Swift

    @MainActor
    open var barrageAnimation: CAAnimation? { get }
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func addBarrageAnimation(delegate: CAAnimationDelegate?)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func prepareForReuse()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func clearContents()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func updateSubviewsData()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func layoutContentSubviews()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func convertContentToImage()
  • 设置好数据之后调用一下自动计算bounds

    Declaration

    Swift

    @MainActor
    override open func sizeToFit()
  • 默认删除所有的subview和sublayer; 如果需要选择性的删除可以重写这个方法

    Declaration

    Swift

    @MainActor
    open func removeSubviewsAndSublayers()
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func addBorderAttributes()