title: Using an NSTimer in Swift
body: <p>In this scenario, timerFunc() is never called. What am I missing?</p>
  
  <pre><code>class AppDelegate: NSObject, NSApplicationDelegate {
  
      var myTimer: NSTimer? = nil
  
      func timerFunc() {
          println("timerFunc()")
      }
  
      func applicationDidFinishLaunching(aNotification: NSNotification?) {
          myTimer = NSTimer(timeInterval: 5.0, target: self, selector:"timerFunc", userInfo: nil, repeats: true)
      }
  }
  </code></pre>