title: How to call a swift method which parameter is a protocol from Objective-C
body: <p>How to call a swift method which parameter is a protocol from Objective-C.</p>
  <pre><code>Class A
  {
  func sendMessage&lt;Serializable: Encodable&gt;(message:Serializable){
          let jsonData =   try! JSONEncoder().encode(message)
      
      }
  }
  </code></pre>
  <p>Objective-C code</p>
  <pre><code>A a = [[A alloc] init];
  [a sendMessage] ;// Not Available
  </code></pre>
  <p>How can I call this method from Objective-C.</p>