Skip to content

Instantly share code, notes, and snippets.

@bhxlla
bhxlla / cellTimers.swift
Last active February 6, 2024 16:35
Cell Timers
import UIKit
import Combine
/*
Problem: A tableview with a timer running on each cell, the timer should start only after the cell has been viewed.
The timer's state should be changed to pause when tapped, and back to running when tapped again.
*/