Have you been able to find this out? I struggling with the same error.
timer = Timer.scheduledTimer(timeInterval: 1.0, target: self, selector: #selector(updateTimer), userInfo: nil, repeats: true)
and this is the error: Use of local variable 'updateTimer' before its declaration
Topic:
Programming Languages
SubTopic:
Swift
Tags: