RiValT_TimerArray_IconCell

@MainActor
class RiValT_TimerArray_IconCell : RiValT_BaseCollectionCell

This describes each cell, representing a timer, in the collection view.

  • The height of our display labels, if we have a tight squeeze.

    Declaration

    Swift

    @MainActor
    private static let _tightFontHeightInDisplayUnits: CGFloat
  • The width of a selected timer border.

    Declaration

    Swift

    @MainActor
    static let borderWidthInDisplayUnits: CGFloat
  • The large variant of the digital display font.

    Declaration

    Swift

    @MainActor
    static let digitalDisplayFontBig: UIFont?
  • The large variant of the digital display font (unselected).

    Declaration

    Swift

    @MainActor
    static let unselectedDisplayFontBig: UIFont
  • The smaller variant of the digital display font.

    Declaration

    Swift

    @MainActor
    static let digitalDisplayFontSmall: UIFont?
  • The smaller variant of the digital display font (unselected).

    Declaration

    Swift

    @MainActor
    static let unselectedDisplayFontSmall: UIFont
  • The radius of our rounded corners

    Declaration

    Swift

    @MainActor
    private static let _cornerRadiusInDisplayUnits: CGFloat
  • The storyboard reuse ID

    Declaration

    Swift

    @MainActor
    static let reuseIdentifier: String
  • The timer item associated with this cell.

    Declaration

    Swift

    @MainActor
    var item: Timer?
  • Configure this cell item with the timer, and its index path.

    Declaration

    Swift

    @MainActor
    func configure(with inItem: Timer, indexPath inIndexPath: IndexPath, myController inMyController: RiValT_GroupEditor_ViewController?)

    Parameters

    inItem

    The timer associated with this cell.

    inIndexPath

    The index path for the cell being represented.

    inMyController

    The controller that “owns” this cell.