<html>
<head>
<title>Objective-C Automatic Reference Counting (ARC)</title>
<link type="text/css" rel="stylesheet" href="../menu.css" />
<link type="text/css" rel="stylesheet" href="../content.css" />
<style type="text/css">
/* Collapse the items in the ToC to the left. */
div#toc ul {
padding-left: 0
}
/* Rationales appear in italic. */
div.rationale {
font-style: italic
}
div h1 { font-size: 2em; margin: .67em 0 }
div div h1 { font-size: 1.5em; margin: .75em 0 }
div div div h1 { font-size: 1.17em; margin: .83em 0 }
div div div div h1 { margin: 1.12em 0 }
span.term { font-style: italic; font-weight: bold }
</style>
<script lang="javascript">
/// A little script to recursively build a table of contents.
function buildTOC(div, toc, ancestry) {
var children = div.childNodes;
var len = children.length;
var childNumber = 0;
var list = null;
for (var i = 0; i < len; ++i) {
var child = children[i];
if (child.nodeName != "DIV") continue;
if (child.getAttribute("class") == "rationale") continue;
if (child.id == "toc") continue;
// Okay, we're actually going to build a list node.
if (list === null) list = document.createElement("ul");
var childAncestry =