title: Was setTimer deprecated in Swift 3?
body: <p>I am trying to create a CocoaPod for Swift 3. Because CocoaPods uses <a href="https://github.com/Quick/Nimble" rel="noreferrer">Nimble</a> and <a href="https://github.com/Quick/Quick" rel="noreferrer">Quick</a>, and those libraries haven't been updated yet, I forked the repos and am trying to convert them.</p>
  
  <p>In the Nimble project there is a function called with the signature of:</p>
  
  <pre><code>setTimer(start: DispatchTime, interval: UInt64, leeway: UInt64)
  </code></pre>
  
  <p>The compiler says <code>Cannot invoke 'setTimer' with an argument list of type '(start: DispatchTime, interval: UInt64, leeway: UInt64)'</code></p>
  
  <pre><code>private let pollLeeway: UInt64 = NSEC_PER_MSEC
  let interval = UInt64(pollInterval * Double(NSEC_PER_SEC))
  asyncSource.setTimer(start: DispatchTime.now(), interval: interval, leeway: pollLeeway)
  </code></pre>
  
  <p>The auto-complete shows all the setTimer methods are deprecated, but from what I <a href="https://github.com/apple/swift-evolution/blob/master/proposals/0088-libdispatch-for-swift3.md" rel="noreferrer">found</a> they shouldn't be.</p>
  
  <p>Is there a replacement?</p>