Could you please help, how to use Timer instance in Swift 4 on Linux Ubuntu 16.04?
When I try to do:
let timer = Timer.scheduledTimer(timeInterval: 10.0, target: self, selector: #selector(MyClass.myMethod), userInfo: nil, repeats: true)
I got error: error: '#selector' can only be used with the Objective-C runtime