title: Get function name in Swift
body: <p>I am looking to get the name of function in swift.</p>
  
  <p>I basically want something like </p>
  
  <pre><code>__FUNCTION__
  </code></pre>
  
  <p>but from a different function e.g. </p>
  
  <pre><code>func do () {
     code etc
  }
  
  func doStuff () {
     var funcName = do().name
  }
  </code></pre>
  
  <p>the above would be perfect.</p>
  
  <p>Any ideas?</p>