<?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 for WM Innovations iPhone devblog</title>
	<atom:link href="http://devblog.wm-innovations.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.wm-innovations.com</link>
	<description>iPhone / iPad development blog</description>
	<lastBuildDate>Thu, 12 Jan 2012 14:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Custom swipe detection in a UITableViewCell by anka</title>
		<link>http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/comment-page-1/#comment-1235</link>
		<dc:creator>anka</dc:creator>
		<pubDate>Thu, 12 Jan 2012 14:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=30#comment-1235</guid>
		<description>Hi thanks for your example. Maybe it would be also an option to simply use gesture recognizers. Look at our blog at http://blog.blackwhale.at/?p=795 and checkout our source code example.</description>
		<content:encoded><![CDATA[<p>Hi thanks for your example. Maybe it would be also an option to simply use gesture recognizers. Look at our blog at <a href="http://blog.blackwhale.at/?p=795" rel="nofollow">http://blog.blackwhale.at/?p=795</a> and checkout our source code example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Andy</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1232</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 13 Oct 2011 08:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1232</guid>
		<description>Great post! Definitely in my bookmarks now.</description>
		<content:encoded><![CDATA[<p>Great post! Definitely in my bookmarks now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Jeroen</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1215</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Tue, 07 Dec 2010 09:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1215</guid>
		<description>Hi Rita,

You can fill the array with:

if (self.localJsonArray == nil) {
	self.localJsonArray = [[NSMutableArray alloc]init]; // init the local array if it&#039;s empty
 	}
 [self.localJsonArray addObjectsFromArray:self.jsonArray];
 

And you can detect the &#039;load more&#039; click with something like this in the didSelectRowAtIndexPath function:

if ( [jsonArray count] == 25 ) { { // only check for the load more function if we have 25 results in the dynamic array
 	if (indexPath.row == [localJsonArray count] ) { // See if we reached the +1 in the results
 	[self laadJSONTabel]; // function to load more results
 	[populairTable reloadData]; // reload the table
 	} else {
        // your normal didSelectRowAtIndexPath function here
 	} 

Since we did a +1 on the numberOfRowsInSection in the initial example, we detect if we reached that +1 in above example and call &#039;laadJSONTabel&#039; to load more results from wherever you&#039;re getting your JSON from</description>
		<content:encoded><![CDATA[<p>Hi Rita,</p>
<p>You can fill the array with:</p>
<p>if (self.localJsonArray == nil) {<br />
	self.localJsonArray = [[NSMutableArray alloc]init]; // init the local array if it&#8217;s empty<br />
 	}<br />
 [self.localJsonArray addObjectsFromArray:self.jsonArray];</p>
<p>And you can detect the &#8216;load more&#8217; click with something like this in the didSelectRowAtIndexPath function:</p>
<p>if ( [jsonArray count] == 25 ) { { // only check for the load more function if we have 25 results in the dynamic array<br />
 	if (indexPath.row == [localJsonArray count] ) { // See if we reached the +1 in the results<br />
 	[self laadJSONTabel]; // function to load more results<br />
 	[populairTable reloadData]; // reload the table<br />
 	} else {<br />
        // your normal didSelectRowAtIndexPath function here<br />
 	} </p>
<p>Since we did a +1 on the numberOfRowsInSection in the initial example, we detect if we reached that +1 in above example and call &#8216;laadJSONTabel&#8217; to load more results from wherever you&#8217;re getting your JSON from</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Rita</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1214</link>
		<dc:creator>Rita</dc:creator>
		<pubDate>Tue, 07 Dec 2010 05:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1214</guid>
		<description>thanks! and this is great... but could you explain how to setup and fill the local json array with the jsonArray?  and how do execute new request to the server with new results?

thanks in advance</description>
		<content:encoded><![CDATA[<p>thanks! and this is great&#8230; but could you explain how to setup and fill the local json array with the jsonArray?  and how do execute new request to the server with new results?</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom swipe detection in a UITableViewCell by Jeroen</title>
		<link>http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/comment-page-1/#comment-1160</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Thu, 04 Nov 2010 08:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=30#comment-1160</guid>
		<description>Hi Dave,

The code for detecting the swipe is used in a UITableViewCell subclass so it&#039;s always used for the cell you&#039;re actually swiping.

Basically in your UITableViewController class you add a: 
#import &quot;ImageCell.h&quot;

And then you specify the ImageCell subclass to be used:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

static NSString *CellIdentifier = @&quot;Cell&quot;;
ImageCell *cell = (ImageCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; 
etc..

Then implement the code in the post into this ImageCell subclass, you can set the alpha values for the elements you use in the subclass. 

i.e. I darken several elements in the ImageCell subclass once the swipe is set with:
self.imageView.alpha = 0.7;
self.urlLabel.alpha = 0.7;
self.titleLabel.alpha = 0.7;

Let me know if this clarifies it for you

I admit I still need to put an example online, been very busy with getting an X-mas app ready, so very guilty on not keeping a promise ;)</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>The code for detecting the swipe is used in a UITableViewCell subclass so it&#8217;s always used for the cell you&#8217;re actually swiping.</p>
<p>Basically in your UITableViewController class you add a:<br />
#import &#8220;ImageCell.h&#8221;</p>
<p>And then you specify the ImageCell subclass to be used:<br />
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {</p>
<p>static NSString *CellIdentifier = @&#8221;Cell&#8221;;<br />
ImageCell *cell = (ImageCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];<br />
etc..</p>
<p>Then implement the code in the post into this ImageCell subclass, you can set the alpha values for the elements you use in the subclass. </p>
<p>i.e. I darken several elements in the ImageCell subclass once the swipe is set with:<br />
self.imageView.alpha = 0.7;<br />
self.urlLabel.alpha = 0.7;<br />
self.titleLabel.alpha = 0.7;</p>
<p>Let me know if this clarifies it for you</p>
<p>I admit I still need to put an example online, been very busy with getting an X-mas app ready, so very guilty on not keeping a promise <img src='http://devblog.wm-innovations.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom swipe detection in a UITableViewCell by Dave Phoenix</title>
		<link>http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/comment-page-1/#comment-1159</link>
		<dc:creator>Dave Phoenix</dc:creator>
		<pubDate>Thu, 04 Nov 2010 02:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=30#comment-1159</guid>
		<description>Hi, please can you tell me, with your code, how can i tell which cell had been swiped?

I want to change the

cell.alpha = 0.5;

to effectively dim the swiped cell.

Excellent example, and thank you in advance for any help you can offer. Dave.</description>
		<content:encoded><![CDATA[<p>Hi, please can you tell me, with your code, how can i tell which cell had been swiped?</p>
<p>I want to change the</p>
<p>cell.alpha = 0.5;</p>
<p>to effectively dim the swiped cell.</p>
<p>Excellent example, and thank you in advance for any help you can offer. Dave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Jeroen</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1158</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Tue, 26 Oct 2010 12:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1158</guid>
		<description>What&#039;s the crash error from the debug window ?</description>
		<content:encoded><![CDATA[<p>What&#8217;s the crash error from the debug window ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Pritish</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1157</link>
		<dc:creator>Pritish</dc:creator>
		<pubDate>Tue, 26 Oct 2010 12:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1157</guid>
		<description>I got an app crash on these two lines:


From my Table view

NSDictionary *itemAtIndex = (NSDictionary *)[self.arrayProperty_Name objectAtIndex:indexPath.row];
		[cell setData:itemAtIndex];


From ImageCell.m

self.titleLabel.text = [dict objectForKey:@&quot;title&quot;];</description>
		<content:encoded><![CDATA[<p>I got an app crash on these two lines:</p>
<p>From my Table view</p>
<p>NSDictionary *itemAtIndex = (NSDictionary *)[self.arrayProperty_Name objectAtIndex:indexPath.row];<br />
		[cell setData:itemAtIndex];</p>
<p>From ImageCell.m</p>
<p>self.titleLabel.text = [dict objectForKey:@"title"];</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom swipe detection in a UITableViewCell by Jeroen</title>
		<link>http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/comment-page-1/#comment-1144</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Sun, 25 Jul 2010 19:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=30#comment-1144</guid>
		<description>No I haven&#039;t made time yet, is there a specific part you need help with ?</description>
		<content:encoded><![CDATA[<p>No I haven&#8217;t made time yet, is there a specific part you need help with ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom swipe detection in a UITableViewCell by wsidell</title>
		<link>http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/comment-page-1/#comment-1143</link>
		<dc:creator>wsidell</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=30#comment-1143</guid>
		<description>Wondering if you have finished the example for this?</description>
		<content:encoded><![CDATA[<p>Wondering if you have finished the example for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Cody</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1140</link>
		<dc:creator>Cody</dc:creator>
		<pubDate>Thu, 03 Jun 2010 02:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1140</guid>
		<description>Got it working, thanks for the info! Great help</description>
		<content:encoded><![CDATA[<p>Got it working, thanks for the info! Great help</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Jeroen</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1139</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Wed, 02 Jun 2010 20:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1139</guid>
		<description>ImageCell is the name of a seperately included file: ImageCell.h

Basically it&#039;s something like:
-----
//  ImageCell.h
#import &lt;UIKit/UIKit.h&gt;

@interface ImageCell : UITableViewCell {
 // put some interface things here like an image, a label, etc..
}

----
//  ImageCell.m
#import &quot;ImageCell.h&quot;

@implementation ImageCell

- (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier {
}

- (void)layoutSubviews {
    [super layoutSubviews];
	// getting the cell size
    CGRect contentRect = self.contentView.bounds;
 // some stuff here to setup labels and images
}

- (void)dealloc {
}

@end
----

Then do a #import ImageCell.h in the ViewController .m file that has the table in it, and voila, the ImageCell as in the code of the tutorial. (very plain, but you can dress it from there)

There&#039;s a full tutorial at: http://iphone.zcentric.com/2008/08/05/custom-uitableviewcell/ if you want it more specific</description>
		<content:encoded><![CDATA[<p>ImageCell is the name of a seperately included file: ImageCell.h</p>
<p>Basically it&#8217;s something like:<br />
&#8212;&#8211;<br />
//  ImageCell.h<br />
#import <uikit /UIKit.h></p>
<p>@interface ImageCell : UITableViewCell {<br />
 // put some interface things here like an image, a label, etc..<br />
}</p>
<p>&#8212;-<br />
//  ImageCell.m<br />
#import &#8220;ImageCell.h&#8221;</p>
<p>@implementation ImageCell</p>
<p>- (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier {<br />
}</p>
<p>- (void)layoutSubviews {<br />
    [super layoutSubviews];<br />
	// getting the cell size<br />
    CGRect contentRect = self.contentView.bounds;<br />
 // some stuff here to setup labels and images<br />
}</p>
<p>- (void)dealloc {<br />
}</p>
<p>@end<br />
&#8212;-</p>
<p>Then do a #import ImageCell.h in the ViewController .m file that has the table in it, and voila, the ImageCell as in the code of the tutorial. (very plain, but you can dress it from there)</p>
<p>There&#8217;s a full tutorial at: <a href="http://iphone.zcentric.com/2008/08/05/custom-uitableviewcell/" rel="nofollow">http://iphone.zcentric.com/2008/08/05/custom-uitableviewcell/</a> if you want it more specific</uikit></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding a &#8216;Load more&#8217; cell in your UITableView by Cody</title>
		<link>http://devblog.wm-innovations.com/2010/04/22/adding-a-load-more-cell-in-uitableview/comment-page-1/#comment-1138</link>
		<dc:creator>Cody</dc:creator>
		<pubDate>Wed, 02 Jun 2010 18:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=115#comment-1138</guid>
		<description>Hello,

First off, finding anything on this subject is extremely hard! Secondly your tutorial helped a little but im new to Objective-C so when it comes to custom UITableCell&#039;s im a little lost.

You used an object of ImageCell. I&#039;m not sure what this is or where it came from. Would it be possible to post the source for this tutorial? Thanks.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>First off, finding anything on this subject is extremely hard! Secondly your tutorial helped a little but im new to Objective-C so when it comes to custom UITableCell&#8217;s im a little lost.</p>
<p>You used an object of ImageCell. I&#8217;m not sure what this is or where it came from. Would it be possible to post the source for this tutorial? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on makeiPhoneRefMovie for Linux by smee</title>
		<link>http://devblog.wm-innovations.com/2010/04/05/makeiphonerefmovie-for-linux/comment-page-1/#comment-944</link>
		<dc:creator>smee</dc:creator>
		<pubDate>Wed, 28 Apr 2010 07:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=83#comment-944</guid>
		<description>thanks</description>
		<content:encoded><![CDATA[<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom swipe detection in a UITableViewCell by Jeroen</title>
		<link>http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/comment-page-1/#comment-417</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Fri, 16 Apr 2010 07:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://devblog.wm-innovations.com/?p=30#comment-417</guid>
		<description>I didn&#039;t get around to finishing the example yet, I&#039;ll try and get it up next week</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t get around to finishing the example yet, I&#8217;ll try and get it up next week</p>
]]></content:encoded>
	</item>
</channel>
</rss>

