Files
RETableViewManager/Documentation/html/Classes/RETableViewSection.html
2013-07-22 14:14:11 -05:00

2725 lines
80 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>RETableViewSection Class Reference</title>
<meta id="xcode-display" name="xcode-display" content="render"/>
<meta name="viewport" content="width=550" />
<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.1 (build 840)" />
</head>
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
<h1><a id="libraryTitle" href="../index.html">RETableViewManager </a></h1>
<a id="developerHome" href="../index.html">Roman Efimov</a>
</div>
<div id="title" role="banner">
<h1 class="hideInXcode">RETableViewSection Class 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="properties">Properties</option>
<option value="//api/name/footerTitle">&nbsp;&nbsp;&nbsp;&nbsp;footerTitle</option>
<option value="//api/name/footerView">&nbsp;&nbsp;&nbsp;&nbsp;footerView</option>
<option value="//api/name/headerTitle">&nbsp;&nbsp;&nbsp;&nbsp;headerTitle</option>
<option value="//api/name/headerView">&nbsp;&nbsp;&nbsp;&nbsp;headerView</option>
<option value="//api/name/index">&nbsp;&nbsp;&nbsp;&nbsp;index</option>
<option value="//api/name/items">&nbsp;&nbsp;&nbsp;&nbsp;items</option>
<option value="//api/name/tableViewManager">&nbsp;&nbsp;&nbsp;&nbsp;tableViewManager</option>
<option value="class_methods">Class Methods</option>
<option value="//api/name/section">&nbsp;&nbsp;&nbsp;&nbsp;+ section</option>
<option value="//api/name/sectionWithHeaderTitle:">&nbsp;&nbsp;&nbsp;&nbsp;+ sectionWithHeaderTitle:</option>
<option value="//api/name/sectionWithHeaderTitle:footerTitle:">&nbsp;&nbsp;&nbsp;&nbsp;+ sectionWithHeaderTitle:footerTitle:</option>
<option value="//api/name/sectionWithHeaderView:">&nbsp;&nbsp;&nbsp;&nbsp;+ sectionWithHeaderView:</option>
<option value="//api/name/sectionWithHeaderView:footerView:">&nbsp;&nbsp;&nbsp;&nbsp;+ sectionWithHeaderView:footerView:</option>
<option value="instance_methods">Instance Methods</option>
<option value="//api/name/addItem:">&nbsp;&nbsp;&nbsp;&nbsp;- addItem:</option>
<option value="//api/name/addItemsFromArray:">&nbsp;&nbsp;&nbsp;&nbsp;- addItemsFromArray:</option>
<option value="//api/name/exchangeItemAtIndex:withItemAtIndex:">&nbsp;&nbsp;&nbsp;&nbsp;- exchangeItemAtIndex:withItemAtIndex:</option>
<option value="//api/name/initWithHeaderTitle:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithHeaderTitle:</option>
<option value="//api/name/initWithHeaderTitle:footerTitle:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithHeaderTitle:footerTitle:</option>
<option value="//api/name/initWithHeaderView:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithHeaderView:</option>
<option value="//api/name/initWithHeaderView:footerView:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithHeaderView:footerView:</option>
<option value="//api/name/insertItem:atIndex:">&nbsp;&nbsp;&nbsp;&nbsp;- insertItem:atIndex:</option>
<option value="//api/name/insertItems:atIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- insertItems:atIndexes:</option>
<option value="//api/name/reloadSectionWithAnimation:">&nbsp;&nbsp;&nbsp;&nbsp;- reloadSectionWithAnimation:</option>
<option value="//api/name/removeAllItems">&nbsp;&nbsp;&nbsp;&nbsp;- removeAllItems</option>
<option value="//api/name/removeItem:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItem:</option>
<option value="//api/name/removeItem:inRange:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItem:inRange:</option>
<option value="//api/name/removeItemAtIndex:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItemAtIndex:</option>
<option value="//api/name/removeItemIdenticalTo:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItemIdenticalTo:</option>
<option value="//api/name/removeItemIdenticalTo:inRange:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItemIdenticalTo:inRange:</option>
<option value="//api/name/removeItemsAtIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItemsAtIndexes:</option>
<option value="//api/name/removeItemsInArray:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItemsInArray:</option>
<option value="//api/name/removeItemsInRange:">&nbsp;&nbsp;&nbsp;&nbsp;- removeItemsInRange:</option>
<option value="//api/name/removeLastItem">&nbsp;&nbsp;&nbsp;&nbsp;- removeLastItem</option>
<option value="//api/name/replaceItemAtIndex:withItem:">&nbsp;&nbsp;&nbsp;&nbsp;- replaceItemAtIndex:withItem:</option>
<option value="//api/name/replaceItemsAtIndexes:withItems:">&nbsp;&nbsp;&nbsp;&nbsp;- replaceItemsAtIndexes:withItems:</option>
<option value="//api/name/replaceItemsInRange:withItemsFromArray:">&nbsp;&nbsp;&nbsp;&nbsp;- replaceItemsInRange:withItemsFromArray:</option>
<option value="//api/name/replaceItemsInRange:withItemsFromArray:range:">&nbsp;&nbsp;&nbsp;&nbsp;- replaceItemsInRange:withItemsFromArray:range:</option>
<option value="//api/name/replaceItemsWithItemsFromArray:">&nbsp;&nbsp;&nbsp;&nbsp;- replaceItemsWithItemsFromArray:</option>
<option value="//api/name/sortItemsUsingFunction:context:">&nbsp;&nbsp;&nbsp;&nbsp;- sortItemsUsingFunction:context:</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>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Creating and Initializing a RETableViewSection">Creating and Initializing a RETableViewSection</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Adding Items">Adding Items</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Removing Items">Removing Items</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Replacing Items">Replacing Items</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Rearranging Items">Rearranging Items</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Manipulating table view section">Manipulating table view section</a></span></li>
</ul></li>
<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/footerTitle">footerTitle</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/footerView">footerView</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/headerTitle">headerTitle</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/headerView">headerView</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/index">index</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/items">items</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/tableViewManager">tableViewManager</a></span></li>
</ul></li>
<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/section">section</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sectionWithHeaderTitle:">sectionWithHeaderTitle:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sectionWithHeaderTitle:footerTitle:">sectionWithHeaderTitle:footerTitle:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sectionWithHeaderView:">sectionWithHeaderView:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sectionWithHeaderView:footerView:">sectionWithHeaderView:footerView:</a></span></li>
</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/addItem:">addItem:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addItemsFromArray:">addItemsFromArray:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/exchangeItemAtIndex:withItemAtIndex:">exchangeItemAtIndex:withItemAtIndex:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithHeaderTitle:">initWithHeaderTitle:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithHeaderTitle:footerTitle:">initWithHeaderTitle:footerTitle:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithHeaderView:">initWithHeaderView:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithHeaderView:footerView:">initWithHeaderView:footerView:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/insertItem:atIndex:">insertItem:atIndex:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/insertItems:atIndexes:">insertItems:atIndexes:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/reloadSectionWithAnimation:">reloadSectionWithAnimation:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeAllItems">removeAllItems</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItem:">removeItem:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItem:inRange:">removeItem:inRange:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItemAtIndex:">removeItemAtIndex:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItemIdenticalTo:">removeItemIdenticalTo:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItemIdenticalTo:inRange:">removeItemIdenticalTo:inRange:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItemsAtIndexes:">removeItemsAtIndexes:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItemsInArray:">removeItemsInArray:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeItemsInRange:">removeItemsInRange:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeLastItem">removeLastItem</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/replaceItemAtIndex:withItem:">replaceItemAtIndex:withItem:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/replaceItemsAtIndexes:withItems:">replaceItemsAtIndexes:withItems:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/replaceItemsInRange:withItemsFromArray:">replaceItemsInRange:withItemsFromArray:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/replaceItemsInRange:withItemsFromArray:range:">replaceItemsInRange:withItemsFromArray:range:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/replaceItemsWithItemsFromArray:">replaceItemsWithItemsFromArray:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sortItemsUsingFunction:context:">sortItemsUsingFunction:context:</a></span></li>
</ul></li>
</ul>
</nav>
<article>
<div id="contents" class="isShowingTOC" role="main">
<a title="RETableViewSection Class 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">RETableViewSection Class Reference</h1>
</div>
</div>
<div id="container">
<div class="section section-specification"><table cellspacing="0"><tbody>
<tr>
<td class="specification-title">Inherits from</td>
<td class="specification-value">NSObject</td>
</tr><tr>
<td class="specification-title">Declared in</td>
<td class="specification-value">RETableViewSection.h<br />RETableViewSection.m</td>
</tr>
</tbody></table></div>
<div class="section section-overview">
<a title="Overview" name="overview"></a>
<h2 class="subtitle subtitle-overview">Overview</h2>
<p>Table view <a href="#//api/name/section">section</a>.</p>
</div>
<div class="section section-tasks">
<a title="Tasks" name="tasks"></a>
<h2 class="subtitle subtitle-tasks">Tasks</h2>
<h3 class="subsubtitle task-title">Other Methods</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/items">&nbsp;&nbsp;items</a></code>
<span class="tooltip"><p>An array of <a href="#//api/name/section">section</a> items (rows).</p></span>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/headerTitle">&nbsp;&nbsp;headerTitle</a></code>
<span class="tooltip"><p>The title of the header of the specified <a href="#//api/name/section">section</a> of the table view.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/footerTitle">&nbsp;&nbsp;footerTitle</a></code>
<span class="tooltip"><p>The title of the footer of the specified <a href="#//api/name/section">section</a> of the table view.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/headerView">&nbsp;&nbsp;headerView</a></code>
<span class="tooltip"><p>A view object to display in the header of the specified <a href="#//api/name/section">section</a> of the table view.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/footerView">&nbsp;&nbsp;footerView</a></code>
<span class="tooltip"><p>A view object to display in the footer of the specified <a href="#//api/name/section">section</a> of the table view.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/tableViewManager">&nbsp;&nbsp;tableViewManager</a></code>
<span class="tooltip"><p>The title of of this <a href="#//api/name/section">section</a>.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/index">&nbsp;&nbsp;index</a></code>
<span class="tooltip"><p>Section index in UITableView.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li>
</ul>
<a title="Creating and Initializing a RETableViewSection" name="task_Creating and Initializing a RETableViewSection"></a>
<h3 class="subsubtitle task-title">Creating and Initializing a RETableViewSection</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/section">+&nbsp;section</a></code>
<span class="tooltip"><p>Creates and returns a new section.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/sectionWithHeaderTitle:">+&nbsp;sectionWithHeaderTitle:</a></code>
<span class="tooltip"><p>Creates and returns a new <a href="#//api/name/section">section</a> with predefined header title.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/sectionWithHeaderTitle:footerTitle:">+&nbsp;sectionWithHeaderTitle:footerTitle:</a></code>
<span class="tooltip"><p>Creates and returns a new <a href="#//api/name/section">section</a> with predefined header and footer titles.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/sectionWithHeaderView:">+&nbsp;sectionWithHeaderView:</a></code>
<span class="tooltip"><p>Creates and returns a new <a href="#//api/name/section">section</a> containing a header view.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/sectionWithHeaderView:footerView:">+&nbsp;sectionWithHeaderView:footerView:</a></code>
<span class="tooltip"><p>Creates and returns a new <a href="#//api/name/section">section</a> containing header and footer views.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/initWithHeaderTitle:">&ndash;&nbsp;initWithHeaderTitle:</a></code>
<span class="tooltip"><p>Initializes a newly allocated <a href="#//api/name/section">section</a> and sets header title.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/initWithHeaderTitle:footerTitle:">&ndash;&nbsp;initWithHeaderTitle:footerTitle:</a></code>
<span class="tooltip"><p>Initializes a newly allocated <a href="#//api/name/section">section</a> with header and footer titles.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/initWithHeaderView:">&ndash;&nbsp;initWithHeaderView:</a></code>
<span class="tooltip"><p>Initializes a newly allocated <a href="#//api/name/section">section</a> containing a header view.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/initWithHeaderView:footerView:">&ndash;&nbsp;initWithHeaderView:footerView:</a></code>
<span class="tooltip"><p>Initializes a newly allocated <a href="#//api/name/section">section</a> containing header and footer views.</p></span>
</span>
</li>
</ul>
<a title="Adding Items" name="task_Adding Items"></a>
<h3 class="subsubtitle task-title">Adding Items</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/addItem:">&ndash;&nbsp;addItem:</a></code>
<span class="tooltip"><p>Inserts a given item at the end of the <a href="#//api/name/section">section</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/addItemsFromArray:">&ndash;&nbsp;addItemsFromArray:</a></code>
<span class="tooltip"><p>Adds the <a href="#//api/name/items">items</a> contained in another given array to the end of the <a href="#//api/name/section">section</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/insertItem:atIndex:">&ndash;&nbsp;insertItem:atIndex:</a></code>
<span class="tooltip"><p>Inserts a given item into the <a href="#//api/name/section">section</a> at a given <a href="#//api/name/index">index</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/insertItems:atIndexes:">&ndash;&nbsp;insertItems:atIndexes:</a></code>
<span class="tooltip"><p>Inserts the <a href="#//api/name/items">items</a> in the provided <a href="#//api/name/items">items</a> array into the <a href="#//api/name/section">section</a> at the specified indexes.</p></span>
</span>
</li>
</ul>
<a title="Removing Items" name="task_Removing Items"></a>
<h3 class="subsubtitle task-title">Removing Items</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/removeItem:">&ndash;&nbsp;removeItem:</a></code>
<span class="tooltip"><p>Removes all occurrences in the <a href="#//api/name/section">section</a> of a given item.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeAllItems">&ndash;&nbsp;removeAllItems</a></code>
<span class="tooltip"><p>Empties the <a href="#//api/name/section">section</a> of all its <a href="#//api/name/items">items</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItemIdenticalTo:inRange:">&ndash;&nbsp;removeItemIdenticalTo:inRange:</a></code>
<span class="tooltip"><p>Removes all occurrences of item within the specified range in the <a href="#//api/name/section">section</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItemIdenticalTo:">&ndash;&nbsp;removeItemIdenticalTo:</a></code>
<span class="tooltip"><p>Removes all occurrences of a given item in the <a href="#//api/name/section">section</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItemsInArray:">&ndash;&nbsp;removeItemsInArray:</a></code>
<span class="tooltip"><p>Removes from the <a href="#//api/name/section">section</a> the <a href="#//api/name/items">items</a> in another given array.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItemsInRange:">&ndash;&nbsp;removeItemsInRange:</a></code>
<span class="tooltip"><p>Removes from the <a href="#//api/name/section">section</a> each of the <a href="#//api/name/items">items</a> within a given range.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItem:inRange:">&ndash;&nbsp;removeItem:inRange:</a></code>
<span class="tooltip"><p>Removes all occurrences within a specified range in the <a href="#//api/name/section">section</a> of a given item.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeLastItem">&ndash;&nbsp;removeLastItem</a></code>
<span class="tooltip"><p>Removes the item with the highest-valued <a href="#//api/name/index">index</a> in the <a href="#//api/name/section">section</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItemAtIndex:">&ndash;&nbsp;removeItemAtIndex:</a></code>
<span class="tooltip"><p>Removes the item at <a href="#//api/name/index">index</a>.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/removeItemsAtIndexes:">&ndash;&nbsp;removeItemsAtIndexes:</a></code>
<span class="tooltip"><p>Removes the <a href="#//api/name/items">items</a> at the specified indexes from the <a href="#//api/name/section">section</a>.</p></span>
</span>
</li>
</ul>
<a title="Replacing Items" name="task_Replacing Items"></a>
<h3 class="subsubtitle task-title">Replacing Items</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/replaceItemAtIndex:withItem:">&ndash;&nbsp;replaceItemAtIndex:withItem:</a></code>
<span class="tooltip"><p>Replaces the item at <a href="#//api/name/index">index</a> with another item.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/replaceItemsWithItemsFromArray:">&ndash;&nbsp;replaceItemsWithItemsFromArray:</a></code>
<span class="tooltip"><p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> with all of the <a href="#//api/name/items">items</a> from a given array.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/replaceItemsAtIndexes:withItems:">&ndash;&nbsp;replaceItemsAtIndexes:withItems:</a></code>
<span class="tooltip"><p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at specified locations specified with the <a href="#//api/name/items">items</a> from a given array.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/replaceItemsInRange:withItemsFromArray:range:">&ndash;&nbsp;replaceItemsInRange:withItemsFromArray:range:</a></code>
<span class="tooltip"><p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> by one given range with the <a href="#//api/name/items">items</a> in another array specified by another range.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/replaceItemsInRange:withItemsFromArray:">&ndash;&nbsp;replaceItemsInRange:withItemsFromArray:</a></code>
<span class="tooltip"><p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> specified by a given range with all of the <a href="#//api/name/items">items</a> from a given array.</p></span>
</span>
</li>
</ul>
<a title="Rearranging Items" name="task_Rearranging Items"></a>
<h3 class="subsubtitle task-title">Rearranging Items</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/exchangeItemAtIndex:withItemAtIndex:">&ndash;&nbsp;exchangeItemAtIndex:withItemAtIndex:</a></code>
<span class="tooltip"><p>Exchanges the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at given indices.</p></span>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/sortItemsUsingFunction:context:">&ndash;&nbsp;sortItemsUsingFunction:context:</a></code>
<span class="tooltip"><p>Sorts the <a href="#//api/name/items">items</a> in ascending order as defined by the comparison function compare.</p></span>
</span>
</li>
</ul>
<a title="Manipulating table view section" name="task_Manipulating table view section"></a>
<h3 class="subsubtitle task-title">Manipulating table view section</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/reloadSectionWithAnimation:">&ndash;&nbsp;reloadSectionWithAnimation:</a></code>
<span class="tooltip"><p> Reloads the <a href="#//api/name/section"><code>section</code></a> using a given animation effect.</p></span>
</span>
</li>
</ul>
</div>
<div class="section section-methods">
<a title="Properties" name="properties"></a>
<h2 class="subtitle subtitle-methods">Properties</h2>
<div class="section-method">
<a name="//api/name/footerTitle" title="footerTitle"></a>
<h3 class="subsubtitle method-title">footerTitle</h3>
<div class="method-subsection brief-description">
<p>The title of the footer of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (copy, readwrite, nonatomic) NSString *footerTitle</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>The title of the footer of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/footerView" title="footerView"></a>
<h3 class="subsubtitle method-title">footerView</h3>
<div class="method-subsection brief-description">
<p>A view object to display in the footer of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (strong, readwrite, nonatomic) UIView *footerView</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>A view object to display in the footer of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/headerTitle" title="headerTitle"></a>
<h3 class="subsubtitle method-title">headerTitle</h3>
<div class="method-subsection brief-description">
<p>The title of the header of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (copy, readwrite, nonatomic) NSString *headerTitle</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>The title of the header of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/headerView" title="headerView"></a>
<h3 class="subsubtitle method-title">headerView</h3>
<div class="method-subsection brief-description">
<p>A view object to display in the header of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (strong, readwrite, nonatomic) UIView *headerView</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>A view object to display in the header of the specified <a href="#//api/name/section">section</a> of the table view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/index" title="index"></a>
<h3 class="subsubtitle method-title">index</h3>
<div class="method-subsection brief-description">
<p>Section index in UITableView.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (assign, readonly, nonatomic) NSUInteger index</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Section index in UITableView.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/items" title="items"></a>
<h3 class="subsubtitle method-title">items</h3>
<div class="method-subsection brief-description">
<p>An array of <a href="#//api/name/section">section</a> items (rows).</p>
</div>
<div class="method-subsection method-declaration"><code>@property (strong, readwrite, nonatomic) NSMutableArray *items</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>An array of <a href="#//api/name/section">section</a> items (rows).</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/tableViewManager" title="tableViewManager"></a>
<h3 class="subsubtitle method-title">tableViewManager</h3>
<div class="method-subsection brief-description">
<p>The title of of this <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (weak, readwrite, nonatomic) RETableViewManager *tableViewManager</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>The title of of this <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
</div>
<div class="section section-methods">
<a title="Class Methods" name="class_methods"></a>
<h2 class="subtitle subtitle-methods">Class Methods</h2>
<div class="section-method">
<a name="//api/name/section" title="section"></a>
<h3 class="subsubtitle method-title">section</h3>
<div class="method-subsection brief-description">
<p>Creates and returns a new section.</p>
</div>
<div class="method-subsection method-declaration"><code>+ (id)section</code></div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new section.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new section.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/sectionWithHeaderTitle:" title="sectionWithHeaderTitle:"></a>
<h3 class="subsubtitle method-title">sectionWithHeaderTitle:</h3>
<div class="method-subsection brief-description">
<p>Creates and returns a new <a href="#//api/name/section">section</a> with predefined header title.</p>
</div>
<div class="method-subsection method-declaration"><code>+ (id)sectionWithHeaderTitle:(NSString *)<em>headerTitle</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>headerTitle</em></dt>
<dd><p>A header title.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> with defined header title.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new <a href="#//api/name/section">section</a> with predefined header title.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/sectionWithHeaderTitle:footerTitle:" title="sectionWithHeaderTitle:footerTitle:"></a>
<h3 class="subsubtitle method-title">sectionWithHeaderTitle:footerTitle:</h3>
<div class="method-subsection brief-description">
<p>Creates and returns a new <a href="#//api/name/section">section</a> with predefined header and footer titles.</p>
</div>
<div class="method-subsection method-declaration"><code>+ (id)sectionWithHeaderTitle:(NSString *)<em>headerTitle</em> footerTitle:(NSString *)<em>footerTitle</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>headerTitle</em></dt>
<dd><p>A header title.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>footerTitle</em></dt>
<dd><p>A footer title.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> with header and footer titles.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new <a href="#//api/name/section">section</a> with predefined header and footer titles.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/sectionWithHeaderView:" title="sectionWithHeaderView:"></a>
<h3 class="subsubtitle method-title">sectionWithHeaderView:</h3>
<div class="method-subsection brief-description">
<p>Creates and returns a new <a href="#//api/name/section">section</a> containing a header view.</p>
</div>
<div class="method-subsection method-declaration"><code>+ (id)sectionWithHeaderView:(UIView *)<em>headerView</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>headerView</em></dt>
<dd><p>A header view.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> containing a header view.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new <a href="#//api/name/section">section</a> containing a header view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/sectionWithHeaderView:footerView:" title="sectionWithHeaderView:footerView:"></a>
<h3 class="subsubtitle method-title">sectionWithHeaderView:footerView:</h3>
<div class="method-subsection brief-description">
<p>Creates and returns a new <a href="#//api/name/section">section</a> containing header and footer views.</p>
</div>
<div class="method-subsection method-declaration"><code>+ (id)sectionWithHeaderView:(UIView *)<em>headerView</em> footerView:(UIView *)<em>footerView</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>headerView</em></dt>
<dd><p>A header view.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>footerView</em></dt>
<dd><p>A footer view.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> containing header and footer views.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new <a href="#//api/name/section">section</a> containing header and footer views.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
</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/addItem:" title="addItem:"></a>
<h3 class="subsubtitle method-title">addItem:</h3>
<div class="method-subsection brief-description">
<p>Inserts a given item at the end of the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)addItem:(id)<em>item</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>item</em></dt>
<dd><p>The item to add to the end of the <a href="#//api/name/section">section</a>. This value must not be <code>nil</code>.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>The item.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Inserts a given item at the end of the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/addItemsFromArray:" title="addItemsFromArray:"></a>
<h3 class="subsubtitle method-title">addItemsFromArray:</h3>
<div class="method-subsection brief-description">
<p>Adds the <a href="#//api/name/items">items</a> contained in another given array to the end of the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)addItemsFromArray:(NSArray *)<em>array</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>array</em></dt>
<dd><p>An array of <a href="#//api/name/items">items</a> to add to the end of the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Adds the <a href="#//api/name/items">items</a> contained in another given array to the end of the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/exchangeItemAtIndex:withItemAtIndex:" title="exchangeItemAtIndex:withItemAtIndex:"></a>
<h3 class="subsubtitle method-title">exchangeItemAtIndex:withItemAtIndex:</h3>
<div class="method-subsection brief-description">
<p>Exchanges the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at given indices.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)exchangeItemAtIndex:(NSUInteger)<em>idx1</em> withItemAtIndex:(NSUInteger)<em>idx2</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>idx1</em></dt>
<dd><p>The <a href="#//api/name/index">index</a> of the item with which to replace the item at <a href="#//api/name/index">index</a> idx2.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>idx2</em></dt>
<dd><p>The <a href="#//api/name/index">index</a> of the <a href="#//api/name/items">items</a> with which to replace the item at <a href="#//api/name/index">index</a> idx1.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Exchanges the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at given indices.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/initWithHeaderTitle:" title="initWithHeaderTitle:"></a>
<h3 class="subsubtitle method-title">initWithHeaderTitle:</h3>
<div class="method-subsection brief-description">
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> and sets header title.</p>
</div>
<div class="method-subsection method-declaration"><code>- (id)initWithHeaderTitle:(NSString *)<em>headerTitle</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>headerTitle</em></dt>
<dd><p>A header title.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> initialized with a header title.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> and sets header title.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/initWithHeaderTitle:footerTitle:" title="initWithHeaderTitle:footerTitle:"></a>
<h3 class="subsubtitle method-title">initWithHeaderTitle:footerTitle:</h3>
<div class="method-subsection brief-description">
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> with header and footer titles.</p>
</div>
<div class="method-subsection method-declaration"><code>- (id)initWithHeaderTitle:(NSString *)<em>headerTitle</em> footerTitle:(NSString *)<em>footerTitle</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>headerTitle</em></dt>
<dd><p>A header title.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>footerTitle</em></dt>
<dd><p>A footer title.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> initialized with header and footer titles.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> with header and footer titles.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/initWithHeaderView:" title="initWithHeaderView:"></a>
<h3 class="subsubtitle method-title">initWithHeaderView:</h3>
<div class="method-subsection brief-description">
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> containing a header view.</p>
</div>
<div class="method-subsection method-declaration"><code>- (id)initWithHeaderView:(UIView *)<em>headerView</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>headerView</em></dt>
<dd><p>A header view.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> initialized containing a header view.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> containing a header view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/initWithHeaderView:footerView:" title="initWithHeaderView:footerView:"></a>
<h3 class="subsubtitle method-title">initWithHeaderView:footerView:</h3>
<div class="method-subsection brief-description">
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> containing header and footer views.</p>
</div>
<div class="method-subsection method-declaration"><code>- (id)initWithHeaderView:(UIView *)<em>headerView</em> footerView:(UIView *)<em>footerView</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>headerView</em></dt>
<dd><p>A header view.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>footerView</em></dt>
<dd><p>A footer view.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>A new <a href="#//api/name/section">section</a> initialized with header and footer views.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initializes a newly allocated <a href="#//api/name/section">section</a> containing header and footer views.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/insertItem:atIndex:" title="insertItem:atIndex:"></a>
<h3 class="subsubtitle method-title">insertItem:atIndex:</h3>
<div class="method-subsection brief-description">
<p>Inserts a given item into the <a href="#//api/name/section">section</a> at a given <a href="#//api/name/index">index</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)insertItem:(id)<em>item</em> atIndex:(NSUInteger)<em>index</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>item</em></dt>
<dd><p>The item to add to the <a href="#//api/name/section">section</a>. This value must not be nil.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>index</em></dt>
<dd><p>The <a href="#//api/name/index">index</a> in the <a href="#//api/name/section">section</a> at which to insert item. This value must not be greater than the count of <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Inserts a given item into the <a href="#//api/name/section">section</a> at a given <a href="#//api/name/index">index</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/insertItems:atIndexes:" title="insertItems:atIndexes:"></a>
<h3 class="subsubtitle method-title">insertItems:atIndexes:</h3>
<div class="method-subsection brief-description">
<p>Inserts the <a href="#//api/name/items">items</a> in the provided <a href="#//api/name/items">items</a> array into the <a href="#//api/name/section">section</a> at the specified indexes.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)insertItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>indexes</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>items</em></dt>
<dd><p>An array of <a href="#//api/name/items">items</a> to insert into the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>indexes</em></dt>
<dd><p>The indexes at which the <a href="#//api/name/items">items</a> should be inserted.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Inserts the <a href="#//api/name/items">items</a> in the provided <a href="#//api/name/items">items</a> array into the <a href="#//api/name/section">section</a> at the specified indexes.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/reloadSectionWithAnimation:" title="reloadSectionWithAnimation:"></a>
<h3 class="subsubtitle method-title">reloadSectionWithAnimation:</h3>
<div class="method-subsection brief-description">
<p> Reloads the <a href="#//api/name/section"><code>section</code></a> using a given animation effect.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)reloadSectionWithAnimation:(UITableViewRowAnimation)<em>animation</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>animation</em></dt>
<dd><p>A constant that indicates how the reloading is to be animated</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p> Reloads the <a href="#//api/name/section"><code>section</code></a> using a given animation effect.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeAllItems" title="removeAllItems"></a>
<h3 class="subsubtitle method-title">removeAllItems</h3>
<div class="method-subsection brief-description">
<p>Empties the <a href="#//api/name/section">section</a> of all its <a href="#//api/name/items">items</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeAllItems</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Empties the <a href="#//api/name/section">section</a> of all its <a href="#//api/name/items">items</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItem:" title="removeItem:"></a>
<h3 class="subsubtitle method-title">removeItem:</h3>
<div class="method-subsection brief-description">
<p>Removes all occurrences in the <a href="#//api/name/section">section</a> of a given item.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItem:(id)<em>item</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>item</em></dt>
<dd><p>The item to remove from the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes all occurrences in the <a href="#//api/name/section">section</a> of a given item.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItem:inRange:" title="removeItem:inRange:"></a>
<h3 class="subsubtitle method-title">removeItem:inRange:</h3>
<div class="method-subsection brief-description">
<p>Removes all occurrences within a specified range in the <a href="#//api/name/section">section</a> of a given item.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItem:(id)<em>item</em> inRange:(NSRange)<em>range</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>item</em></dt>
<dd><p>The item to remove from the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>range</em></dt>
<dd><p>The range from which to remove item.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes all occurrences within a specified range in the <a href="#//api/name/section">section</a> of a given item.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItemAtIndex:" title="removeItemAtIndex:"></a>
<h3 class="subsubtitle method-title">removeItemAtIndex:</h3>
<div class="method-subsection brief-description">
<p>Removes the item at <a href="#//api/name/index">index</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItemAtIndex:(NSUInteger)<em>index</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>index</em></dt>
<dd><p>The <a href="#//api/name/index">index</a> from which to remove the item in the <a href="#//api/name/section">section</a>. The value must not exceed the bounds of the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes the item at <a href="#//api/name/index">index</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItemIdenticalTo:" title="removeItemIdenticalTo:"></a>
<h3 class="subsubtitle method-title">removeItemIdenticalTo:</h3>
<div class="method-subsection brief-description">
<p>Removes all occurrences of a given item in the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItemIdenticalTo:(id)<em>item</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>item</em></dt>
<dd><p>The <a href="#//api/name/section">section</a> to remove from the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes all occurrences of a given item in the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItemIdenticalTo:inRange:" title="removeItemIdenticalTo:inRange:"></a>
<h3 class="subsubtitle method-title">removeItemIdenticalTo:inRange:</h3>
<div class="method-subsection brief-description">
<p>Removes all occurrences of item within the specified range in the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItemIdenticalTo:(id)<em>item</em> inRange:(NSRange)<em>range</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>item</em></dt>
<dd><p>The item to remove from the <a href="#//api/name/section">section</a> within range.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>range</em></dt>
<dd><p>The range in the <a href="#//api/name/section">section</a> from which to remove <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes all occurrences of item within the specified range in the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItemsAtIndexes:" title="removeItemsAtIndexes:"></a>
<h3 class="subsubtitle method-title">removeItemsAtIndexes:</h3>
<div class="method-subsection brief-description">
<p>Removes the <a href="#//api/name/items">items</a> at the specified indexes from the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItemsAtIndexes:(NSIndexSet *)<em>indexes</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>indexes</em></dt>
<dd><p>The indexes of the <a href="#//api/name/items">items</a> to remove from the <a href="#//api/name/section">section</a>. The locations specified by indexes must lie within the bounds of the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes the <a href="#//api/name/items">items</a> at the specified indexes from the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItemsInArray:" title="removeItemsInArray:"></a>
<h3 class="subsubtitle method-title">removeItemsInArray:</h3>
<div class="method-subsection brief-description">
<p>Removes from the <a href="#//api/name/section">section</a> the <a href="#//api/name/items">items</a> in another given array.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItemsInArray:(NSArray *)<em>otherArray</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>otherArray</em></dt>
<dd><p>An array containing the <a href="#//api/name/items">items</a> to be removed from the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes from the <a href="#//api/name/section">section</a> the <a href="#//api/name/items">items</a> in another given array.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeItemsInRange:" title="removeItemsInRange:"></a>
<h3 class="subsubtitle method-title">removeItemsInRange:</h3>
<div class="method-subsection brief-description">
<p>Removes from the <a href="#//api/name/section">section</a> each of the <a href="#//api/name/items">items</a> within a given range.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeItemsInRange:(NSRange)<em>range</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>range</em></dt>
<dd><p>The range of the <a href="#//api/name/items">items</a> to remove from the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes from the <a href="#//api/name/section">section</a> each of the <a href="#//api/name/items">items</a> within a given range.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/removeLastItem" title="removeLastItem"></a>
<h3 class="subsubtitle method-title">removeLastItem</h3>
<div class="method-subsection brief-description">
<p>Removes the item with the highest-valued <a href="#//api/name/index">index</a> in the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)removeLastItem</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Removes the item with the highest-valued <a href="#//api/name/index">index</a> in the <a href="#//api/name/section">section</a>.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/replaceItemAtIndex:withItem:" title="replaceItemAtIndex:withItem:"></a>
<h3 class="subsubtitle method-title">replaceItemAtIndex:withItem:</h3>
<div class="method-subsection brief-description">
<p>Replaces the item at <a href="#//api/name/index">index</a> with another item.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)replaceItemAtIndex:(NSUInteger)<em>index</em> withItem:(id)<em>item</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>index</em></dt>
<dd><p>The <a href="#//api/name/index">index</a> of the item to be replaced. This value must not exceed the bounds of the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>item</em></dt>
<dd><p>The item with which to replace the item at <a href="#//api/name/index">index</a> <a href="#//api/name/index">index</a> in the <a href="#//api/name/section">section</a>. This value must not be <code>nil</code>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Replaces the item at <a href="#//api/name/index">index</a> with another item.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/replaceItemsAtIndexes:withItems:" title="replaceItemsAtIndexes:withItems:"></a>
<h3 class="subsubtitle method-title">replaceItemsAtIndexes:withItems:</h3>
<div class="method-subsection brief-description">
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at specified locations specified with the <a href="#//api/name/items">items</a> from a given array.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)replaceItemsAtIndexes:(NSIndexSet *)<em>indexes</em> withItems:(NSArray *)<em>items</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>indexes</em></dt>
<dd><p>The indexes of the <a href="#//api/name/items">items</a> to be replaced.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>items</em></dt>
<dd><p>The <a href="#//api/name/items">items</a> with which to replace the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at the indexes specified by <code>indexes</code>. The count of locations in indexes must equal the count of <a href="#//api/name/items">items</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> at specified locations specified with the <a href="#//api/name/items">items</a> from a given array.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/replaceItemsInRange:withItemsFromArray:" title="replaceItemsInRange:withItemsFromArray:"></a>
<h3 class="subsubtitle method-title">replaceItemsInRange:withItemsFromArray:</h3>
<div class="method-subsection brief-description">
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> specified by a given range with all of the <a href="#//api/name/items">items</a> from a given array.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)replaceItemsInRange:(NSRange)<em>range</em> withItemsFromArray:(NSArray *)<em>otherArray</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>range</em></dt>
<dd><p>The range of <a href="#//api/name/items">items</a> to replace in (or remove from) the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>otherArray</em></dt>
<dd><p>The array of <a href="#//api/name/items">items</a> from which to select replacements for the <a href="#//api/name/items">items</a> in range.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> specified by a given range with all of the <a href="#//api/name/items">items</a> from a given array.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/replaceItemsInRange:withItemsFromArray:range:" title="replaceItemsInRange:withItemsFromArray:range:"></a>
<h3 class="subsubtitle method-title">replaceItemsInRange:withItemsFromArray:range:</h3>
<div class="method-subsection brief-description">
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> by one given range with the <a href="#//api/name/items">items</a> in another array specified by another range.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)replaceItemsInRange:(NSRange)<em>range</em> withItemsFromArray:(NSArray *)<em>otherArray</em> range:(NSRange)<em>otherRange</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>range</em></dt>
<dd><p>The range of <a href="#//api/name/items">items</a> to replace in (or remove from) the <a href="#//api/name/section">section</a>.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>otherArray</em></dt>
<dd><p>The array of <a href="#//api/name/items">items</a> from which to select replacements for the <a href="#//api/name/items">items</a> in range.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>otherRange</em></dt>
<dd><p>The range of <a href="#//api/name/items">items</a> to select from otherArray as replacements for the <a href="#//api/name/items">items</a> in range.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> by one given range with the <a href="#//api/name/items">items</a> in another array specified by another range.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/replaceItemsWithItemsFromArray:" title="replaceItemsWithItemsFromArray:"></a>
<h3 class="subsubtitle method-title">replaceItemsWithItemsFromArray:</h3>
<div class="method-subsection brief-description">
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> with all of the <a href="#//api/name/items">items</a> from a given array.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)replaceItemsWithItemsFromArray:(NSArray *)<em>otherArray</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>otherArray</em></dt>
<dd><p>The array of <a href="#//api/name/items">items</a> from which to select replacements for the <a href="#//api/name/items">items</a>.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Replaces the <a href="#//api/name/items">items</a> in the <a href="#//api/name/section">section</a> with all of the <a href="#//api/name/items">items</a> from a given array.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/sortItemsUsingFunction:context:" title="sortItemsUsingFunction:context:"></a>
<h3 class="subsubtitle method-title">sortItemsUsingFunction:context:</h3>
<div class="method-subsection brief-description">
<p>Sorts the <a href="#//api/name/items">items</a> in ascending order as defined by the comparison function compare.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)sortItemsUsingFunction:(NSInteger ( *) ( id , id , void *))<em>compare</em> context:(void *)<em>context</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>compare</em></dt>
<dd><p>The comparison function to use to compare two <a href="#//api/name/items">items</a> at a time.</p></dd>
</dl>
<dl class="argument-def parameter-def">
<dt><em>context</em></dt>
<dd><p>The context argument to pass to the compare function.</p></dd>
</dl>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Sorts the <a href="#//api/name/items">items</a> in ascending order as defined by the comparison function compare.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewSection.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; 2013 Roman Efimov. All rights reserved. (Last updated: 2013-07-22)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 840)</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>