Files
AsyncDisplayKit/appledoc/Protocols/ASRangeControllerDelegate.html
2015-01-05 16:28:39 -08:00

798 lines
22 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>ASRangeControllerDelegate Protocol Reference</title>
<meta id="xcode-display" name="xcode-display" content="render"/>
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
<meta name="generator" content="appledoc 2.2 (build 963)" />
</head>
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
<h1><a id="libraryTitle" href="../index.html">AsyncDisplayKit </a></h1>
<a id="developerHome" href="../index.html">Facebook</a>
</div>
<div id="title" role="banner">
<h1 class="hideInXcode">ASRangeControllerDelegate Protocol Reference</h1>
</div>
<ul id="headerButtons" role="toolbar">
<li id="toc_button">
<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
</li>
<li id="jumpto_button" role="navigation">
<select id="jumpTo">
<option value="top">Jump To&#133;</option>
<option value="overview">Overview</option>
<option value="tasks">Tasks</option>
<option value="instance_methods">Instance Methods</option>
<option value="//api/name/rangeController:didDeleteNodesAtIndexPaths:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:didDeleteNodesAtIndexPaths:</option>
<option value="//api/name/rangeController:didDeleteSectionsAtIndexSet:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:didDeleteSectionsAtIndexSet:</option>
<option value="//api/name/rangeController:didInsertNodesAtIndexPaths:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:didInsertNodesAtIndexPaths:</option>
<option value="//api/name/rangeController:didInsertSectionsAtIndexSet:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:didInsertSectionsAtIndexSet:</option>
<option value="//api/name/rangeController:nodesAtIndexPaths:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:nodesAtIndexPaths:</option>
<option value="//api/name/rangeController:willDeleteNodesAtIndexPaths:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:willDeleteNodesAtIndexPaths:</option>
<option value="//api/name/rangeController:willDeleteSectionsAtIndexSet:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:willDeleteSectionsAtIndexSet:</option>
<option value="//api/name/rangeController:willInsertNodesAtIndexPaths:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:willInsertNodesAtIndexPaths:</option>
<option value="//api/name/rangeController:willInsertSectionsAtIndexSet:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeController:willInsertSectionsAtIndexSet:</option>
<option value="//api/name/rangeControllerViewportSize:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeControllerViewportSize:</option>
<option value="//api/name/rangeControllerVisibleNodeIndexPaths:">&nbsp;&nbsp;&nbsp;&nbsp;- rangeControllerVisibleNodeIndexPaths:</option>
</select>
</li>
</ul>
</header>
<nav id="tocContainer" class="isShowingTOC">
<ul id="toc" role="tree">
<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
</ul></li>
<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:didDeleteNodesAtIndexPaths:">rangeController:didDeleteNodesAtIndexPaths:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:didDeleteSectionsAtIndexSet:">rangeController:didDeleteSectionsAtIndexSet:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:didInsertNodesAtIndexPaths:">rangeController:didInsertNodesAtIndexPaths:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:didInsertSectionsAtIndexSet:">rangeController:didInsertSectionsAtIndexSet:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:nodesAtIndexPaths:">rangeController:nodesAtIndexPaths:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:willDeleteNodesAtIndexPaths:">rangeController:willDeleteNodesAtIndexPaths:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:willDeleteSectionsAtIndexSet:">rangeController:willDeleteSectionsAtIndexSet:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:willInsertNodesAtIndexPaths:">rangeController:willInsertNodesAtIndexPaths:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeController:willInsertSectionsAtIndexSet:">rangeController:willInsertSectionsAtIndexSet:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeControllerViewportSize:">rangeControllerViewportSize:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rangeControllerVisibleNodeIndexPaths:">rangeControllerVisibleNodeIndexPaths:</a></span></li>
</ul></li>
</ul>
</nav>
<article>
<div id="contents" class="isShowingTOC" role="main">
<a title="ASRangeControllerDelegate Protocol Reference" name="top"></a>
<div class="main-navigation navigation-top">
<ul>
<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
</div>
<div id="header">
<div class="section-header">
<h1 class="title title-header">ASRangeControllerDelegate Protocol Reference</h1>
</div>
</div>
<div id="container">
<div class="section section-specification"><table cellspacing="0"><tbody>
<tr>
<td class="specification-title">Conforms to</td>
<td class="specification-value">NSObject</td>
</tr><tr>
<td class="specification-title">Declared in</td>
<td class="specification-value">ASRangeController.h</td>
</tr>
</tbody></table></div>
<div class="section section-overview">
<a title="Overview" name="overview"></a>
<h2 class="subtitle subtitle-overview">Overview</h2>
<p><a href="../Classes/ASRangeController.html">ASRangeController</a> delegate. For example, <a href="../Classes/ASTableView.html">ASTableView</a>.</p>
</div>
<div class="section section-tasks">
<a title="Tasks" name="tasks"></a>
<h2 class="subtitle subtitle-tasks">Tasks</h2>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/rangeControllerVisibleNodeIndexPaths:">&ndash;&nbsp;rangeControllerVisibleNodeIndexPaths:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeControllerViewportSize:">&ndash;&nbsp;rangeControllerViewportSize:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:nodesAtIndexPaths:">&ndash;&nbsp;rangeController:nodesAtIndexPaths:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:didInsertNodesAtIndexPaths:">&ndash;&nbsp;rangeController:didInsertNodesAtIndexPaths:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:didDeleteNodesAtIndexPaths:">&ndash;&nbsp;rangeController:didDeleteNodesAtIndexPaths:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:didInsertSectionsAtIndexSet:">&ndash;&nbsp;rangeController:didInsertSectionsAtIndexSet:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:didDeleteSectionsAtIndexSet:">&ndash;&nbsp;rangeController:didDeleteSectionsAtIndexSet:</a></code>
</span>
<span class="task-item-suffix">required method</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:willInsertNodesAtIndexPaths:">&ndash;&nbsp;rangeController:willInsertNodesAtIndexPaths:</a></code>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:willDeleteNodesAtIndexPaths:">&ndash;&nbsp;rangeController:willDeleteNodesAtIndexPaths:</a></code>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:willInsertSectionsAtIndexSet:">&ndash;&nbsp;rangeController:willInsertSectionsAtIndexSet:</a></code>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/rangeController:willDeleteSectionsAtIndexSet:">&ndash;&nbsp;rangeController:willDeleteSectionsAtIndexSet:</a></code>
</span>
</li>
</ul>
</div>
<div class="section section-methods">
<a title="Instance Methods" name="instance_methods"></a>
<h2 class="subtitle subtitle-methods">Instance Methods</h2>
<div class="section-method">
<a name="//api/name/rangeController:didDeleteNodesAtIndexPaths:" title="rangeController:didDeleteNodesAtIndexPaths:"></a>
<h3 class="subsubtitle method-title">rangeController:didDeleteNodesAtIndexPaths:</h3>
<div class="method-subsection brief-description">
<p>Called for nodes deletion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> didDeleteNodesAtIndexPaths:(id)<em>indexPaths</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:didDeleteSectionsAtIndexSet:" title="rangeController:didDeleteSectionsAtIndexSet:"></a>
<h3 class="subsubtitle method-title">rangeController:didDeleteSectionsAtIndexSet:</h3>
<div class="method-subsection brief-description">
<p>Called for section deletion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> didDeleteSectionsAtIndexSet:(id)<em>indexSet</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:didInsertNodesAtIndexPaths:" title="rangeController:didInsertNodesAtIndexPaths:"></a>
<h3 class="subsubtitle method-title">rangeController:didInsertNodesAtIndexPaths:</h3>
<div class="method-subsection brief-description">
<p>Called for nodes insertion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> didInsertNodesAtIndexPaths:(id)<em>indexPaths</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:didInsertSectionsAtIndexSet:" title="rangeController:didInsertSectionsAtIndexSet:"></a>
<h3 class="subsubtitle method-title">rangeController:didInsertSectionsAtIndexSet:</h3>
<div class="method-subsection brief-description">
<p>Called for section insertion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> didInsertSectionsAtIndexSet:(id)<em>indexSet</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:nodesAtIndexPaths:" title="rangeController:nodesAtIndexPaths:"></a>
<h3 class="subsubtitle method-title">rangeController:nodesAtIndexPaths:</h3>
<div class="method-subsection brief-description">
<p>Fetch nodes at specific index paths.</p>
</div>
<div class="method-subsection method-declaration"><code>- (NSArray *)rangeController:(id)<em>rangeController</em> nodesAtIndexPaths:(id)<em>indexPaths</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:willDeleteNodesAtIndexPaths:" title="rangeController:willDeleteNodesAtIndexPaths:"></a>
<h3 class="subsubtitle method-title">rangeController:willDeleteNodesAtIndexPaths:</h3>
<div class="method-subsection brief-description">
<p>Called before nodes deletion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> willDeleteNodesAtIndexPaths:(id)<em>indexPaths</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:willDeleteSectionsAtIndexSet:" title="rangeController:willDeleteSectionsAtIndexSet:"></a>
<h3 class="subsubtitle method-title">rangeController:willDeleteSectionsAtIndexSet:</h3>
<div class="method-subsection brief-description">
<p>Called before section deletion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> willDeleteSectionsAtIndexSet:(id)<em>indexSet</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:willInsertNodesAtIndexPaths:" title="rangeController:willInsertNodesAtIndexPaths:"></a>
<h3 class="subsubtitle method-title">rangeController:willInsertNodesAtIndexPaths:</h3>
<div class="method-subsection brief-description">
<p>Called before nodes insertion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> willInsertNodesAtIndexPaths:(id)<em>indexPaths</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeController:willInsertSectionsAtIndexSet:" title="rangeController:willInsertSectionsAtIndexSet:"></a>
<h3 class="subsubtitle method-title">rangeController:willInsertSectionsAtIndexSet:</h3>
<div class="method-subsection brief-description">
<p>Called before section insertion.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)rangeController:(id)<em>rangeController</em> willInsertSectionsAtIndexSet:(id)<em>indexSet</em></code></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeControllerViewportSize:" title="rangeControllerViewportSize:"></a>
<h3 class="subsubtitle method-title">rangeControllerViewportSize:</h3>
<div class="method-subsection brief-description">
<p>Sender.</p>
</div>
<div class="method-subsection method-declaration"><code>- (CGSize)rangeControllerViewportSize:(id)<em>rangeController</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>rangeController</em></dt>
<dd><p>Sender.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>the receiver&rsquo;s viewport size (i.e., the screen space occupied by the visible range).</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/rangeControllerVisibleNodeIndexPaths:" title="rangeControllerVisibleNodeIndexPaths:"></a>
<h3 class="subsubtitle method-title">rangeControllerVisibleNodeIndexPaths:</h3>
<div class="method-subsection brief-description">
<p>Sender.</p>
</div>
<div class="method-subsection method-declaration"><code>- (NSArray *)rangeControllerVisibleNodeIndexPaths:(id)<em>rangeController</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>rangeController</em></dt>
<dd><p>Sender.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>an array of index paths corresponding to the nodes currently visible onscreen (i.e., the visible range).</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASRangeController.h</code><br />
</div>
</div>
</div>
</div>
<div class="main-navigation navigation-bottom">
<ul>
<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
</div>
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2015 Facebook. All rights reserved. (Last updated: 2015-01-05)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 963)</a>.</span></p>
</div>
</div>
</div>
</article>
<script type="text/javascript">
function jumpToChange()
{
window.location.hash = this.options[this.selectedIndex].value;
}
function toggleTOC()
{
var contents = document.getElementById('contents');
var tocContainer = document.getElementById('tocContainer');
if (this.getAttribute('class') == 'open')
{
this.setAttribute('class', '');
contents.setAttribute('class', '');
tocContainer.setAttribute('class', '');
window.name = "hideTOC";
}
else
{
this.setAttribute('class', 'open');
contents.setAttribute('class', 'isShowingTOC');
tocContainer.setAttribute('class', 'isShowingTOC');
window.name = "";
}
return false;
}
function toggleTOCEntryChildren(e)
{
e.stopPropagation();
var currentClass = this.getAttribute('class');
if (currentClass == 'children') {
this.setAttribute('class', 'children open');
}
else if (currentClass == 'children open') {
this.setAttribute('class', 'children');
}
return false;
}
function tocEntryClick(e)
{
e.stopPropagation();
return true;
}
function init()
{
var selectElement = document.getElementById('jumpTo');
selectElement.addEventListener('change', jumpToChange, false);
var tocButton = document.getElementById('table_of_contents');
tocButton.addEventListener('click', toggleTOC, false);
var taskTreeItem = document.getElementById('task_treeitem');
if (taskTreeItem.getElementsByTagName('li').length > 0)
{
taskTreeItem.setAttribute('class', 'children');
taskTreeItem.firstChild.setAttribute('class', 'disclosure');
}
var tocList = document.getElementById('toc');
var tocEntries = tocList.getElementsByTagName('li');
for (var i = 0; i < tocEntries.length; i++) {
tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
}
var tocLinks = tocList.getElementsByTagName('a');
for (var i = 0; i < tocLinks.length; i++) {
tocLinks[i].addEventListener('click', tocEntryClick, false);
}
if (window.name == "hideTOC") {
toggleTOC.call(tocButton);
}
}
window.onload = init;
// If showing in Xcode, hide the TOC and Header
if (navigator.userAgent.match(/xcode/i)) {
document.getElementById("contents").className = "hideInXcode"
document.getElementById("tocContainer").className = "hideInXcode"
document.getElementById("top_header").className = "hideInXcode"
}
</script>
</body>
</html>