title: Swift class introspection & generics
body: <p>I am trying to dynamically create a <code>class</code> instance based type using generics, however I am encountering difficulty with class introspection.</p>
  
  <p>Here are the questions:</p>
  
  <ul>
  <li>Is there a Swift-equivalent to Obj-C's <code>self.class</code>?</li>
  <li>Is there a way to instantiate a class using the <code>AnyClass</code> result from <code>NSClassFromString</code>?</li>
  <li>Is there a way to get <code>AnyClass</code> or otherwise type information strictly from a generic parameter <code>T</code>? (Similar to C#'s <code>typeof(T)</code> syntax)</li>
  </ul>