Update readme with implementation details for refreshing a tableview.

This commit is contained in:
Mark Rickert
2013-05-06 13:03:50 -04:00
parent c8c0c43c49
commit adfe258aab

View File

@@ -684,6 +684,14 @@ end
<td>searchable(placeholder: "placeholder text")</td>
<td>Class method to make the current table searchable.</td>
</tr>
<tr>
<td>refreshable</td>
<td>Class method to make the current table refreshable.<p>You must also specify the following block in your <code>will_appear</code> method:</p>
<code>on_refresh do<br />
# Code to start the refresh</br>
end</code>
<p>And after you're done refreshing everything, call <code>end_refreshing</code> and your tableview will refresh the data automatically.</p></td>
</tr>
<tr>
<td colspan="2">
<h3>table_data</h3>