Files
RETableViewManager/Documentation/html/Classes/RETableViewManager.html
2013-03-13 10:10:41 -05:00

468 lines
13 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>RETableViewManager 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">RETableViewManager 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/delegate">&nbsp;&nbsp;&nbsp;&nbsp;delegate</option>
<option value="//api/name/mapping">&nbsp;&nbsp;&nbsp;&nbsp;mapping</option>
<option value="instance_methods">Instance Methods</option>
<option value="//api/name/initWithDelegate:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithDelegate:</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 RETableViewManager">Creating and Initializing a RETableViewManager</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Managing the Delegate">Managing the Delegate</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Managing Object Mappings">Managing Object Mappings</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/delegate">delegate</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/mapping">mapping</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/initWithDelegate:">initWithDelegate:</a></span></li>
</ul></li>
</ul>
</nav>
<article>
<div id="contents" class="isShowingTOC" role="main">
<a title="RETableViewManager 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">RETableViewManager 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">Conforms to</td>
<td class="specification-value">UITableViewDataSource<br />UITableViewDelegate</td>
</tr><tr>
<td class="specification-title">Declared in</td>
<td class="specification-value">RETableViewManager.h<br />RETableViewManager.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>Data driven content manager for <code>UITableView</code>. It allows to manage content of <code>UITableView</code> with ease, both forms and lists.
In its core RETableViewManager supports reusable cells based on corresponding data object class.</p>
</div>
<div class="section section-tasks">
<a title="Tasks" name="tasks"></a>
<h2 class="subtitle subtitle-tasks">Tasks</h2>
<a title="Creating and Initializing a RETableViewManager" name="task_Creating and Initializing a RETableViewManager"></a>
<h3 class="subsubtitle task-title">Creating and Initializing a RETableViewManager</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/initWithDelegate:">&ndash;&nbsp;initWithDelegate:</a></code>
<span class="tooltip"><p>Initialize a table view manager object and specify the delegate object.</p></span>
</span>
</li>
</ul>
<a title="Managing the Delegate" name="task_Managing the Delegate"></a>
<h3 class="subsubtitle task-title">Managing the Delegate</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/delegate">&nbsp;&nbsp;delegate</a></code>
<span class="tooltip"><p>The object that acts as the delegate of the receiving table view.</p></span>
</span>
<span class="task-item-suffix">property</span>
</li>
</ul>
<a title="Managing Object Mappings" name="task_Managing Object Mappings"></a>
<h3 class="subsubtitle task-title">Managing Object Mappings</h3>
<ul class="task-list">
<li>
<span class="tooltip">
<code><a href="#//api/name/mapping">&nbsp;&nbsp;mapping</a></code>
<span class="tooltip"><p>The aggregate collection of item and class mappings within this table view manager.</p></span>
</span>
<span class="task-item-suffix">property</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/delegate" title="delegate"></a>
<h3 class="subsubtitle method-title">delegate</h3>
<div class="method-subsection brief-description">
<p>The object that acts as the delegate of the receiving table view.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (assign, readwrite, nonatomic) id&lt;RETableViewManagerDelegate&gt; delegate</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>The object that acts as the delegate of the receiving table view.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewManager.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/mapping" title="mapping"></a>
<h3 class="subsubtitle method-title">mapping</h3>
<div class="method-subsection brief-description">
<p>The aggregate collection of item and class mappings within this table view manager.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (strong, readwrite, nonatomic) NSMutableDictionary *mapping</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>The aggregate collection of item and class mappings within this table view manager.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewManager.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/initWithDelegate:" title="initWithDelegate:"></a>
<h3 class="subsubtitle method-title">initWithDelegate:</h3>
<div class="method-subsection brief-description">
<p>Initialize a table view manager object and specify the delegate object.</p>
</div>
<div class="method-subsection method-declaration"><code>- (id)initWithDelegate:(id&lt;RETableViewManagerDelegate&gt;)<em>delegate</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>delegate</em></dt>
<dd><p>The delegate (RETableViewManagerDelegate) object for the table view manager.</p></dd>
</dl>
</div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>The pointer to the instance, or nil if initialization failed.</p>
</div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>Initialize a table view manager object and specify the delegate object.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">RETableViewManager.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-03-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>