title: Passing parameters to a method called by NSTimer in Swift
body: <p>I'm trying to pass an argument to a method that is called by NSTimer in my code. It is throwing an exception. This is how I'm doing it. Circle is my custom class.</p>
  
  <pre><code>    var circle = Circle()
      var timer = NSTimer.scheduledTimerWithInterval(1.0, target: self, selector: animate, userInfo: circle, repeats: true)
  </code></pre>
  
  <p>Below is the method that is being called</p>
  
  <pre><code>    func animate(circle: Circle) -&gt; Void{
        //do stuff with circle
      }
  </code></pre>
  
  <p>Note: The method is in the same class that it is being called. So I believe i've set the target correctly.</p>