title: Protocol declaration in swift
body: <p>I am new to learning swift and this question might seem very basic to some of you...</p>
  
  <pre><code>private protocol abc: class {
  
      func xyz ()
  }
  </code></pre>
  
  <p>In the above protocol declaration why have we written the word “class”. Are we inheriting the protocol “abc” from “class”.</p>
  
  <p>Can someone please throw some light on the above line of code ??</p>