I need to schedule a Timer for firing a function every second but I see that in Xcode 8 beta 3 the scheduledTimer is only available for iOS 10.
Is there any alternat
The correct form is:
Timer.scheduledTimer(withTimeInterval: 2, repeats: false){_ in "Here your code method" }