title: Creating threads in swift?
body: <p>I am trying to spawn a thread in swift. 
  So I have this line:</p>
  
  <p>.
  .
  .</p>
  
  <pre><code>let thread = NSThread(target: self, selector: doSomething(), object: nil)
  </code></pre>
  
  <p>.
  .
  .</p>
  
  <p>doSomething is a function within the scope of the class.</p>
  
  <p>That line gives this error:
  "could not find an overload for init() that accepts the supplied arguments"</p>
  
  <p>What am I missing here? Ho can I create a new thread in swift?</p>