We call startTimer function to start a timer. When we wanted to stop it we call stopTimerTest function but after we called stopTimer function the timerTestAction keeps firing. T
Check, are you really call stopTimerTest(), because timerTest.invalidate() is correct for stopping timer.
stopTimerTest()
timerTest.invalidate()
func stopTimerTest() { print("stopTimer") timerTest.invalidate() }