title: Timer for earlier versions of iOS 10? (Xcode 8, Swift 3)
body: <p>I'm so confused! When I initialize <code>NSTimer()</code> Xcode tells me it's been renamed to <code>Timer()</code> and if I initialize <code>Timer()</code> Xcode tells me it's only available for iOS 10.0 or later. What am I supposed to use if I want to use a timer for earlier versions of iOS?! The strangest thing to me is that no one else seems to be having this problem, so what am I missing here? What am I doing wrong?</p>
  
  <p>Yes, I understand <code>NSTimer()</code> got renamed to <code>Timer()</code> in Swift 3, that's literally what I quoted from Xcode's warning message in my first sentence, so I have no idea why everyone felt the urge to 'correct' me on that. Second, it turns out there's only one type method left, which I can use for pre-iOS 10 devices, which is <code>Timer(timeInterval: &lt;#T##TimeInterval#&gt;, target: &lt;#T##Any#&gt;, selector: &lt;#T##Selector#&gt;, userInfo: &lt;#T##Any?#&gt;, repeats: &lt;#T##Bool#&gt;)</code>. The other 4 type methods available all pop up a warning that it's only available in iOS 10, as you can see here:
  <a href="https://i.stack.imgur.com/ijxFX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ijxFX.png" alt="Screenshot of Xcode warning"></a></p>
  
  <p>Also, there is no class method <code>scheduledTimer()</code> available, even though I do remember it used to be their in Swift 2.2. There aren't any class methods available to a <code>timer</code> object, which means the only available type method mentioned above is the only option I have.</p>