title: Use swift classes in Objective-c
body: <p>I'm working with obj-C app, I need to integrate Clover Payment which are swift protocols. I have installed clover pods from
  <a href="https://github.com/clover/remote-pay-ios" rel="nofollow noreferrer">https://github.com/clover/remote-pay-ios</a></p>
  <p>how to use swift protocols in obj-C? I have done this:</p>
  <h2 id="in-obj-c.h-file-jabd">In obj-C .h file</h2>
  <pre><code>    @class ICloverConnector;
      @interface ViewPayment: UIViewController
      {
           ICloverConnector *cc;
      } 
  </code></pre>
  <h2 id="in-obj-c.m-file-lltl">In obj-C .m file</h2>
  <pre><code>    #import &quot;ProjectName-Swift.h&quot;
  </code></pre>
  <h2 id="in-icloverconnector.swift-zza6">In ICloverConnector.swift</h2>
  <pre><code>public protocol ICloverConnector : AnyObject {
      
       func addCloverConnectorListener(_ cloverConnectorListener:ICloverConnectorListener) -&gt; Void
      
      
      func initializeConnection() -&gt; Void
      
  }
  </code></pre>
  <p>How do I call these two functions from Obj-C class ?</p>