title: objective C function used in swift
body: <p>Hello I am currently using an objective C library which is working great, however, in one of the functions the variable is Class. In swift this becomes AnyClass. What I am trying to do is add a class in this case a custom Item class as Item.self() but it does not allow me since it says it needs to be of type AnyClass. Any ideas why Any won't accept any but specifically Any? Thank you!</p>
  
  <p>OBJ C:</p>
  
  <pre><code>-(void)getItemDetails:(Class)clazz withPath:(NSString*)path{
  //some code
  }
  </code></pre>
  
  <p>Swift:</p>
  
  <pre><code>self.getItemDetails(Item.self(), path: mainItem.path)
  </code></pre>