title: How can I pause and resume NSTimer.scheduledTimerWithTimeInterval in swift?
body: <p>I'm developing a game and I want to create a pause menu. Here is my code: </p>
  
  <pre><code>self.view?.paused = true
  </code></pre>
  
  <p>but  <code>NSTimer.scheduledTimerWithTimeInterval</code> still running...</p>
  
  <pre><code> for var i=0; i &lt; rocketCount; i++ {
      var a: NSTimeInterval = 1
      ii += a
      delaysShow = 2.0 + ((stimulus + interStimulus) * ii)       
      var time3 = NSTimer.scheduledTimerWithTimeInterval(delaysShow!, target: self, selector: Selector("showRocket:"), userInfo: rocketid[i], repeats: false)
   }
  </code></pre>
  
  <p>I want <code>time3</code> to pause the timer when player click pause menu and continue run the timer when player come back to the game, but how can I pause <code>NSTimer.scheduledTimerWithTimeInterval</code>? help me please.</p>