title: How to put timeout to NSTimer in swift?
body: <p>I have a NSTimer object  as below :  </p>
  
  <pre><code> var timer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: "updateTimer", userInfo: nil, repeats: true)
  </code></pre>
  
  <p>I want to put timeout to my timer. Maybe you know postdelayed method in android. I want to same thing's swift version. How can I do this ? </p>