Class-Only Protocols in Swift
<p>I want some of my classes (not all) to conform using <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Protocols.html" rel="noreferrer">'Class-Only Protocols'</a> from docs. What I am doing is</p>

<pre><code>protocol RefreshData: class, ClassA, ClassB
{
    func updateController()
}
</code></pre>

<p>and I am getting the errors </p>

<pre><code>non class type 'RefreshData cannot inherit from classA
non class type 'RefreshData cannot inherit from classB
</code></pre>

<p>I'm not sure I am following exactly as in the docs.  Does anyone have any ideas about this? </p>