<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to make a Pull-To-Reload TableView just like Tweetie 2</title>
	<atom:link href="http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/</link>
	<description>Our DNA is written in Objective-C</description>
	<lastBuildDate>Mon, 14 May 2012 19:43:35 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: mychar</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-4083</link>
		<dc:creator>mychar</dc:creator>
		<pubDate>Tue, 27 Dec 2011 11:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-4083</guid>
		<description>Im using this one.Having big problem.I use transparent background in EGORefreshTableHeaderView frame.problem is it dosent remove the loading text.It over lap with other text.If i use background color for frame then it is ok.any one can help</description>
		<content:encoded><![CDATA[<p>Im using this one.Having big problem.I use transparent background in EGORefreshTableHeaderView frame.problem is it dosent remove the loading text.It over lap with other text.If i use background color for frame then it is ok.any one can help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BEK</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-3959</link>
		<dc:creator>BEK</dc:creator>
		<pubDate>Mon, 12 Dec 2011 18:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-3959</guid>
		<description>Great code - thanks for the implementation and clear explanation. Quick question, though: I&#039;ve got a long refresh time, so I&#039;m trying to let users scroll to other parts of the tableview while the refresh header is doing its thing. This works fine, except that my (single) section header doesn&#039;t scroll with the tableview. Any ideas how to get the section header to behave normally? i.e. after the refreshheader is activated by the user pulling down, if the user then swipes up to view other cells of the tableview, then I need the section header to &quot;stick&quot; to the bottom of the refreshheaderview rather than stay marooned in the middle of the view. Thanks for any help.</description>
		<content:encoded><![CDATA[<p>Great code &#8211; thanks for the implementation and clear explanation. Quick question, though: I&#8217;ve got a long refresh time, so I&#8217;m trying to let users scroll to other parts of the tableview while the refresh header is doing its thing. This works fine, except that my (single) section header doesn&#8217;t scroll with the tableview. Any ideas how to get the section header to behave normally? i.e. after the refreshheader is activated by the user pulling down, if the user then swipes up to view other cells of the tableview, then I need the section header to &#8220;stick&#8221; to the bottom of the refreshheaderview rather than stay marooned in the middle of the view. Thanks for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gordon</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-3728</link>
		<dc:creator>gordon</dc:creator>
		<pubDate>Fri, 28 Oct 2011 14:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-3728</guid>
		<description>Works great!  Thanks for sharing this.</description>
		<content:encoded><![CDATA[<p>Works great!  Thanks for sharing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: metta</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2879</link>
		<dc:creator>metta</dc:creator>
		<pubDate>Fri, 05 Aug 2011 04:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2879</guid>
		<description>Adding that method did nothing. Not sure why it would since the original worked without a heightForHeader method...

I think my problem is here: 

CGRectMake(0.0f, self.view.bounds.size.height * 2, 320.0f, self.view.bounds.size.height)];

When I make the rect. I&#039;m not sure what those coordinates mean exactly... I know they stand for x, y, width, and height... but I&#039;m not sure how they make the view fit into the table....</description>
		<content:encoded><![CDATA[<p>Adding that method did nothing. Not sure why it would since the original worked without a heightForHeader method&#8230;</p>
<p>I think my problem is here: </p>
<p>CGRectMake(0.0f, self.view.bounds.size.height * 2, 320.0f, self.view.bounds.size.height)];</p>
<p>When I make the rect. I&#8217;m not sure what those coordinates mean exactly&#8230; I know they stand for x, y, width, and height&#8230; but I&#8217;m not sure how they make the view fit into the table&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drops</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2877</link>
		<dc:creator>Drops</dc:creator>
		<pubDate>Thu, 04 Aug 2011 21:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2877</guid>
		<description>heightForFooterInSection delegate method?</description>
		<content:encoded><![CDATA[<p>heightForFooterInSection delegate method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: metta</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2876</link>
		<dc:creator>metta</dc:creator>
		<pubDate>Thu, 04 Aug 2011 21:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2876</guid>
		<description>I&#039;m trying to convert this so that it does the same thing but appears at the bottom of the table instead of the top.
I&#039;m having some trouble: 

So far the changes I&#039;ve made are these: 

*****
- (void)viewDidLoad
{
    [super viewDidLoad];
	
	refreshHeaderView = [[EGORefreshTableHeaderView alloc] initWithFrame:
					//ORIG	 CGRectMake(0.0f, self.view.bounds.size.height,
					//								320.0f, self.view.bounds.size.height)];
						 CGRectMake(0.0f, self.view.bounds.size.height * 2,
									320.0f, self.view.bounds.size.height)];

*******

- (void) showReloadAnimationAnimated:(BOOL)animated
{
	reloading = YES;
	[refreshHeaderView toggleActivityView:YES];

	if (animated)
	{
		[UIView beginAnimations:nil context:NULL];
		[UIView setAnimationDuration:0.2];
	        //ORIG	self.tableView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);
		self.tableView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, 60.0f, 0.0f);

		[UIView commitAnimations];
	}
	else
	{
		//ORIG self.tableView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);
		self.tableView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, 60.0f, 0.0f);
	}
*******


//ORIG lastUpdatedLabel = [[UILabel alloc] initWithFrame: CGRectMake(0.0f, frame.size.height - 30.0f, 320.0f, 20.0f)];
		lastUpdatedLabel = [[UILabel alloc] initWithFrame: CGRectMake(0.0f, 30.0f, 320.0f, 20.0f)];

//ORIG statusLabel = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, frame.size.height - 48.0f, 320.0f, 20.0f)];
		statusLabel = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, 38.0f, 320.0f, 20.0f)];
		
//ORIG activityView.frame = CGRectMake(25.0f, frame.size.height - 38.0f, 20.0f, 20.0f);
		activityView.frame = CGRectMake(25.0f, 38.0f, 20.0f, 20.0f);


The only problem is that the height of the footer seems to be too tall.... I&#039;m not sure what I&#039;m missing. Any help would be great thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to convert this so that it does the same thing but appears at the bottom of the table instead of the top.<br />
I&#8217;m having some trouble: </p>
<p>So far the changes I&#8217;ve made are these: </p>
<p>*****<br />
- (void)viewDidLoad<br />
{<br />
    [super viewDidLoad];</p>
<p>	refreshHeaderView = [[EGORefreshTableHeaderView alloc] initWithFrame:<br />
					//ORIG	 CGRectMake(0.0f, self.view.bounds.size.height,<br />
					//								320.0f, self.view.bounds.size.height)];<br />
						 CGRectMake(0.0f, self.view.bounds.size.height * 2,<br />
									320.0f, self.view.bounds.size.height)];</p>
<p>*******</p>
<p>- (void) showReloadAnimationAnimated:(BOOL)animated<br />
{<br />
	reloading = YES;<br />
	[refreshHeaderView toggleActivityView:YES];</p>
<p>	if (animated)<br />
	{<br />
		[UIView beginAnimations:nil context:NULL];<br />
		[UIView setAnimationDuration:0.2];<br />
	        //ORIG	self.tableView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);<br />
		self.tableView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, 60.0f, 0.0f);</p>
<p>		[UIView commitAnimations];<br />
	}<br />
	else<br />
	{<br />
		//ORIG self.tableView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);<br />
		self.tableView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, 60.0f, 0.0f);<br />
	}<br />
*******</p>
<p>//ORIG lastUpdatedLabel = [[UILabel alloc] initWithFrame: CGRectMake(0.0f, frame.size.height &#8211; 30.0f, 320.0f, 20.0f)];<br />
		lastUpdatedLabel = [[UILabel alloc] initWithFrame: CGRectMake(0.0f, 30.0f, 320.0f, 20.0f)];</p>
<p>//ORIG statusLabel = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, frame.size.height &#8211; 48.0f, 320.0f, 20.0f)];<br />
		statusLabel = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, 38.0f, 320.0f, 20.0f)];</p>
<p>//ORIG activityView.frame = CGRectMake(25.0f, frame.size.height &#8211; 38.0f, 20.0f, 20.0f);<br />
		activityView.frame = CGRectMake(25.0f, 38.0f, 20.0f, 20.0f);</p>
<p>The only problem is that the height of the footer seems to be too tall&#8230;. I&#8217;m not sure what I&#8217;m missing. Any help would be great thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Easy b</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2845</link>
		<dc:creator>Easy b</dc:creator>
		<pubDate>Mon, 01 Aug 2011 17:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2845</guid>
		<description>Excelent work!!
It was pretty straightforward to include it in my project, and worked like a charm.
One small refactor I made was to change the approach of overriding the reloadTableViewDataSource, with a protocol with a mandatory method. Instead of overriding the method, just adhere to the protocol.

-(void)tableView:(UITableView*) reloadTableViewDataSource;

Thank you very much for sharing this!!</description>
		<content:encoded><![CDATA[<p>Excelent work!!<br />
It was pretty straightforward to include it in my project, and worked like a charm.<br />
One small refactor I made was to change the approach of overriding the reloadTableViewDataSource, with a protocol with a mandatory method. Instead of overriding the method, just adhere to the protocol.</p>
<p>-(void)tableView:(UITableView*) reloadTableViewDataSource;</p>
<p>Thank you very much for sharing this!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lobequadrat</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2640</link>
		<dc:creator>lobequadrat</dc:creator>
		<pubDate>Mon, 27 Jun 2011 16:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2640</guid>
		<description>same here! :)</description>
		<content:encoded><![CDATA[<p>same here! <img src='http://www.cocoanetics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mobile Gmail Adds &#8220;Pull Down to Refresh&#8221; &#124; Tux Blog</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2625</link>
		<dc:creator>Mobile Gmail Adds &#8220;Pull Down to Refresh&#8221; &#124; Tux Blog</dc:creator>
		<pubDate>Thu, 23 Jun 2011 22:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2625</guid>
		<description>[...] natural urge to make new items appear at the top by pulling down the table with extra force,&#8221; suggested Oliver Drobnik back in 2009, when Tweetie added this feature, which is now available in mobile [...]</description>
		<content:encoded><![CDATA[<p>[...] natural urge to make new items appear at the top by pulling down the table with extra force,&#8221; suggested Oliver Drobnik back in 2009, when Tweetie added this feature, which is now available in mobile [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mobile Gmail Adds &#34;Pull Down to Refresh&#34; &#124; RemoveWAT</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2624</link>
		<dc:creator>Mobile Gmail Adds &#34;Pull Down to Refresh&#34; &#124; RemoveWAT</dc:creator>
		<pubDate>Thu, 23 Jun 2011 06:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2624</guid>
		<description>[...] natural urge to make new items appear at the top by pulling down the table with extra force,&#8221; suggested Oliver Drobnik back in 2009, when Tweetie added this feature, which is now available in mobile Gmail.   [...]</description>
		<content:encoded><![CDATA[<p>[...] natural urge to make new items appear at the top by pulling down the table with extra force,&#8221; suggested Oliver Drobnik back in 2009, when Tweetie added this feature, which is now available in mobile Gmail.   [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mobile Gmail Adds &#34;Pull Down to Refresh&#34; &#171; Google &#171; Technology &#171; Theory Report</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2623</link>
		<dc:creator>Mobile Gmail Adds &#34;Pull Down to Refresh&#34; &#171; Google &#171; Technology &#171; Theory Report</dc:creator>
		<pubDate>Wed, 22 Jun 2011 22:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2623</guid>
		<description>[...] to make new equipment seem during a tip by pulling down a list with additional force,&#8221; suggested Oliver Drobnik behind in 2009, when Tweetie combined this feature, that is now accessible in mobile Gmail.    [...]</description>
		<content:encoded><![CDATA[<p>[...] to make new equipment seem during a tip by pulling down a list with additional force,&#8221; suggested Oliver Drobnik behind in 2009, when Tweetie combined this feature, that is now accessible in mobile Gmail.    [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2447</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 17 May 2011 00:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2447</guid>
		<description>Thank you very much for this! Very clean implementation and very easy to integrate.

Much appreciated! :)</description>
		<content:encoded><![CDATA[<p>Thank you very much for this! Very clean implementation and very easy to integrate.</p>
<p>Much appreciated! <img src='http://www.cocoanetics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Expanding/Collapsing TableView Sections &#124; Cocoanetics</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2127</link>
		<dc:creator>Expanding/Collapsing TableView Sections &#124; Cocoanetics</dc:creator>
		<pubDate>Thu, 24 Mar 2011 08:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2127</guid>
		<description>[...] how NSMutableIndexSet can be used to our advantage. In contrast to the pull-to-reload method previously discussed, this does not contain anything remotely [...]</description>
		<content:encoded><![CDATA[<p>[...] how NSMutableIndexSet can be used to our advantage. In contrast to the pull-to-reload method previously discussed, this does not contain anything remotely [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drops</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2119</link>
		<dc:creator>Drops</dc:creator>
		<pubDate>Tue, 22 Mar 2011 06:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2119</guid>
		<description>that&#039;s just an example setting the last refresh date.</description>
		<content:encoded><![CDATA[<p>that&#8217;s just an example setting the last refresh date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2118</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 22 Mar 2011 03:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2118</guid>
		<description>What is the myapp in 	refreshHeaderView.lastUpdatedDate = myApp.lastReviewRefresh;?

Cheers,
John</description>
		<content:encoded><![CDATA[<p>What is the myapp in 	refreshHeaderView.lastUpdatedDate = myApp.lastReviewRefresh;?</p>
<p>Cheers,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raymond</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2117</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Tue, 22 Mar 2011 02:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2117</guid>
		<description>Thanks for the quick reply! Also, do I have to put a UIView behind the table view and set it to EGOrefreshTableheaderview?

Thanks,
GEORGE</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply! Also, do I have to put a UIView behind the table view and set it to EGOrefreshTableheaderview?</p>
<p>Thanks,<br />
GEORGE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drops</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2116</link>
		<dc:creator>Drops</dc:creator>
		<pubDate>Tue, 22 Mar 2011 02:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2116</guid>
		<description>Replace these with &amp; in general</description>
		<content:encoded><![CDATA[<p>Replace these with &#038; in general</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raymond</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2115</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Tue, 22 Mar 2011 01:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2115</guid>
		<description>What is the &amp;amp?</description>
		<content:encoded><![CDATA[<p>What is the &amp;amp?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2031</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Fri, 04 Mar 2011 22:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2031</guid>
		<description>i&#039;d love a demo project.  i agree with the comments above about not charging for it though.  you&#039;ve gone through the good effort of this sample code, which is great. Thank you!  But it isn&#039;t as seamless to place it, even into Devon&#039;s code.  I&#039;d like to see the entire project and see how it works in one place.  Just to prevent stupid typos or minor missed connections.  I&#039;ve been to github and such and it&#039;s just not coming together.  A lil help to finish this off would be super appreciated.</description>
		<content:encoded><![CDATA[<p>i&#8217;d love a demo project.  i agree with the comments above about not charging for it though.  you&#8217;ve gone through the good effort of this sample code, which is great. Thank you!  But it isn&#8217;t as seamless to place it, even into Devon&#8217;s code.  I&#8217;d like to see the entire project and see how it works in one place.  Just to prevent stupid typos or minor missed connections.  I&#8217;ve been to github and such and it&#8217;s just not coming together.  A lil help to finish this off would be super appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drops</title>
		<link>http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/#comment-2015</link>
		<dc:creator>Drops</dc:creator>
		<pubDate>Mon, 28 Feb 2011 19:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.drobnik.com/touch/?p=1713#comment-2015</guid>
		<description>Have a look at MyAppsales on GitHub.</description>
		<content:encoded><![CDATA[<p>Have a look at MyAppsales on GitHub.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

