Recent | Popular
#ios #swift #timer #counter #count #countdown
var secondsRemaining = 60 Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { (Timer) in if secondsRemaining > 0 { print ("\(self.secondsRemaining) seconds") secondsRemaining -= 1 } else { Timer.invalidate() } }
Tue Feb 01 2022 07:12:29 GMT+0000 (Coordinated Universal Time)