func timerRuns(addTimeValue: Int = 1) {
if let timeLabelInt = Int(timeLabel.text!) {
if timeLabelInt + addTimeValue > 0 {
timeLabel.text = String(timeLabelInt + addTimeValue)
}
}
}
when I debug this function when I don't send a value to the parameter it equals to 106102873578432.. any idea? Thanks!
(Im calling this function from the Timer.scheduledTimer method)