<div dir="ltr">Say I have been passed an array of objects that conform to a protocol called &quot;Eatable&quot; i.e [Eatable]<div><br></div><div>If I then try to cast them to an array of classes who happen to implement that protocol i.e [Burger]</div><div><br></div><div>The compiler lets me but in the runtime it corrupts the memory.</div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><b><font color="#cc0000">___________________________________</font></b></p><p><b>James⎥iOS Lead</b></p><p><b><font color="#cc0000"><a href="mailto:james@supmenow.com" target="_blank">james@supmenow.com</a>⎥<a href="http://supmenow.com" target="_blank">supmenow.com</a></font></b></p><p><b><font size="2">Sup</font></b></p><p><b><font size="2">Runway East
</font></b></p><p><b><font size="2">10 Finsbury Square</font></b></p><p><b><font size="2">London</font></b></p><p><b><font size="2">
EC2A 1AF </font></b></p></div></div></div></div></div></div></div></div></div>
</div></div>