<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Reference counting - Page 22 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=reference_counting&amp;p=21">1.Previous</a><br />
<a accesskey="3" href="page.php?w=reference_counting&amp;p=23">3.Next</a>
</p>
<p>may also help avoid retain cycles; the <a href="page.php?w=Cocoa_%28API%29">Cocoa</a> framework, for instance, recommends using "strong" references for parent-to-child relationships and "weak" references for child-to-parent relationships.</p>

<p>Systems may also be designed to tolerate or correct the cycles they create in some way. Developers may design code to explicitly "tear down" the references in a data structure when it is no longer needed, though this has the cost of requiring them to manually track that data structure's lifetime. This</p><p>
<a accesskey="1" href="page.php?w=reference_counting&amp;p=21">1.Previous</a><br />
<a accesskey="3" href="page.php?w=reference_counting&amp;p=23">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
