RiValT_BaseCollectionCell

@MainActor
class RiValT_BaseCollectionCell : UICollectionViewCell

This is a basic view class, for the display cells in the collection view.

  • The dimension of our cells.

    Declaration

    Swift

    @MainActor
    static let itemSize: NSCollectionLayoutSize
  • This is the application-global timer model.

    It’s an implicit optional, because the whole shebang goes into the crapper, if it doesn’t work.

    Declaration

    Swift

    @MainActor
    var timerModel: TimerModel! { get }
  • The index path of this cell.

    Declaration

    Swift

    @MainActor
    var indexPath: IndexPath?
  • The controller that “owns” this cell.

    Declaration

    Swift

    @MainActor
    var myController: RiValT_GroupEditor_ViewController?
  • Configure this cell item with its index path.

    Declaration

    Swift

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

    Parameters

    inIndexPath

    The index path for the cell being represented.

    inMyController

    The controller that “owns” this cell.