title: How to declare Objective-C method with custom Swift class in it
body: <p>I want to declare an Objective-C method with a custom Swift class as one of it's arguments, like this:</p>
  <pre><code>+ (void)doCalculationsWithACustomSwiftObject:(CustomSwiftClass *)swiftObject andADictionanary:(NSDictionary *)ordinaryDictionary;
  </code></pre>
  <p>The aim is to call this method from Swift, pass an instance of the custom class &quot;CustomSwiftClass.swift&quot; so that the Objective-C code can access its properties. Is it possible, and if so, how do I declare the &quot;CustomSwiftClass&quot; to make the compiler accept it?</p>