title: Xcode , Swift - How to use a function that takes a parameter as a selector
body: <p>I have a function that takes an integer, but i would like to use it as a selector and pass a parameter to it. </p>
  
  <pre><code>NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: "addAmount", userInfo: nil, repeats: true)
  
   func addAmount(amount: Int) {
  
      money += amount
  
  
  }
  </code></pre>