Files
RETableViewManager/Documentation/html/Classes/RETableViewSection.html
2013-06-13 11:12:40 -05:00

1296 lines
34 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="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/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>
</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>
</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>
</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/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>
</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 section.</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 section 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 section 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 section 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 section 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 section of the table view.</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 section 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 section 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 section 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 section 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 section 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 section 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 section 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 section 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/items">items</a> array.</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 section 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 section 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 section 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 section 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 section 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 section 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 section 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 section 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 section 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 section 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>
<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 section 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 section with defined header title.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new section 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 section 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 section 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 section 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 section 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 section containing a header view.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Creates and returns a new section 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 section 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 section 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 section 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/items">items</a> array.</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/items">items</a> array&rsquo;s content. 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/items">items</a> 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/initWithHeaderTitle:" title="initWithHeaderTitle:"></a>
<h3 class="subsubtitle method-title">initWithHeaderTitle:</h3>
<div class="method-subsection brief-description">
<p>Initializes a newly allocated section 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 section initialized with a header title.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initializes a newly allocated section 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 section 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 section 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 section 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 section 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 section initialized containing a header view.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initializes a newly allocated section 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 section 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 section 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 section 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>
<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-06-13)</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>