title: Can not find Swift Protocol declaration in Obj-C class
body: <p>I have created on <code>Class</code> in <code>Swift</code> and that class and its protocol I am using in <code>Obj-C</code> enabled project but I am getting below error while compiling my project.</p>
  
  <blockquote>
    <p>cannot find protocol declaration for 'SpeechRecognizerDelegate'; did
    you mean 'SFSpeechRecognizerDelegate'?</p>
  </blockquote>
  
  <p>Can anyone guide me on this how can I use Swift class protocol in my Obj-C class.</p>
  
  <p><strong>Here is my Swift code:</strong></p>
  
  <pre><code>protocol SpeechRecognizerDelegate : class  {
      func speechRecognitionFinished(_ transcription:String)
      func speechRecognitionError(_ error:Error)
  }
  
  
  class SpeechRecognizer: NSObject, SFSpeechRecognizerDelegate {
      open weak var delegate: SpeechRecognizerDelegate?
  
  }
  </code></pre>
  
  <p><strong>Protocol use in Obj-C:</strong></p>
  
  <pre><code>#import "ARBot-Swift.h"
  
  @interface ChatScreenViewController : JSQMessagesViewController &lt;SpeechRecognizerDelegate&gt;
  </code></pre>
  
  <p>Let me know if required more info.</p>
  
  <p>Thanks in Advance.</p>