 href="#example6">Example 6:</a> protocol with initializers requirement</li>
<li><a href="#example7">Example 7:</a> generics

<ul>
<li><a href="#example7.1">Protocol with generic methods</a></li>
<li><a href="#example7.2">Protocol with associated types</a></li>
</ul></li>
</ol>
<h2 id='a-name-example1-a-example-1' class='heading'><a name="example1"></a> Example 1:</h2>

<p>Simple protocols with example of setting up and verifying methods and properties.</p>
<h3 id='a-name-example1-1-a-simple-protocol-with-m