Skip to content

Instantly share code, notes, and snippets.

@varunbhalla19
varunbhalla19 / 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.
*/