<?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: iPhone SDK Tutorial &#8211; {Part 5}: Add, Delete &amp; Reorder UITableView Rows</title>
	<atom:link href="http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/feed/" rel="self" type="application/rss+xml" />
	<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/</link>
	<description>Help to build mobile applications for Apple Store</description>
	<lastBuildDate>Mon, 14 Jun 2010 12:56:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Martin</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-1169</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 10 Feb 2010 18:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-1169</guid>
		<description>If you try to grab the &quot;Add new item&quot; and move it, the app crashes. 

I added the following to prevent moving of that item;

- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
	if (indexPath.row &gt;= [arrayData count]) {
		return NO;
	}
	return YES;
}</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->If you try to grab the &#8220;Add new item&#8221; and move it, the app crashes. </p>
<p>I added the following to prevent moving of that item;</p>
<p>- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {<br />
	if (indexPath.row &gt;= [arrayData count]) {<br />
		return NO;<br />
	}<br />
	return YES;<br />
}<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-1147</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 28 Jan 2010 05:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-1147</guid>
		<description>When I add the 
- (IBAction)AddButtonAction:(id)sender{
[arryData addObject:@&quot;Mac Mini&quot;];
[tblSimpleTable reloadData];
}

- (IBAction)DeleteButtonAction:(id)sender{
[arryData removeLastObject];
[tblSimpleTable reloadData];
}
at the start it gave me an error :/</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->When I add the<br />
- (IBAction)AddButtonAction:(id)sender{<br />
[arryData addObject:@"Mac Mini"];<br />
[tblSimpleTable reloadData];<br />
}</p>
<p>- (IBAction)DeleteButtonAction:(id)sender{<br />
[arryData removeLastObject];<br />
[tblSimpleTable reloadData];<br />
}<br />
at the start it gave me an error :/<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yara</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-1083</link>
		<dc:creator>Yara</dc:creator>
		<pubDate>Mon, 30 Nov 2009 20:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-1083</guid>
		<description>Hello,

First thank you very much for all your effort on this sequence of tutorials. They have being very useful. 

I tried this tutorial and had a little problem when calling &quot;addObject&quot; over an NSArray &quot;arryData&quot;, it gives the following warning message:

NSArray may not respond to -addObject 
(Messages without matching method signature will be assumed to return &#039;id&#039; and accept &#039;...&#039; arguments.)

I changed NSArray to NSMutableArray, and it fixes. Not sure if I miss this in some point of the tutorial or not. 

Best Regards,

yara senger</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->Hello,</p>
<p>First thank you very much for all your effort on this sequence of tutorials. They have being very useful. </p>
<p>I tried this tutorial and had a little problem when calling &#8220;addObject&#8221; over an NSArray &#8220;arryData&#8221;, it gives the following warning message:</p>
<p>NSArray may not respond to -addObject<br />
(Messages without matching method signature will be assumed to return &#8216;id&#8217; and accept &#8216;&#8230;&#8217; arguments.)</p>
<p>I changed NSArray to NSMutableArray, and it fixes. Not sure if I miss this in some point of the tutorial or not. </p>
<p>Best Regards,</p>
<p>yara senger<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geni</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-1060</link>
		<dc:creator>geni</dc:creator>
		<pubDate>Thu, 12 Nov 2009 06:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-1060</guid>
		<description>Geni Likes it!</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->Geni Likes it!<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yc</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-1058</link>
		<dc:creator>yc</dc:creator>
		<pubDate>Tue, 11 Aug 2009 02:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-1058</guid>
		<description>Hi Adeem,

Thank you for this tutorial. They are really helpful. I can now do a lot with uitableview.  
I would like to request 2 more on uitableview that I do not know how to implement .
1 sort cells alphabetically, just like contact.
2 two large images on the top, just like itunes.  

thank you very much</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->Hi Adeem,</p>
<p>Thank you for this tutorial. They are really helpful. I can now do a lot with uitableview.<br />
I would like to request 2 more on uitableview that I do not know how to implement .<br />
1 sort cells alphabetically, just like contact.<br />
2 two large images on the top, just like itunes.  </p>
<p>thank you very much<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Digital Duane</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-955</link>
		<dc:creator>Digital Duane</dc:creator>
		<pubDate>Thu, 23 Jul 2009 03:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-955</guid>
		<description>I&#039;d like to request a simple &quot;To Do&quot; or Task list.  This &#039;iPhone SDK Tutorial – {Part 5}: Add, Delete &amp; Reorder UITableView Rows&#039; could very easily be a  To Do List, if one could edit the data being added, so that the same new item &#039;Mac Mini&#039; is not being added, over and over when one clicks or touches the &quot;add new row&quot; button.  The Keyboard should pop up and the user should be able to add the title of specifically whatever new item or task he or she wants to add. 

I like your nice, easy approach to these tutorials. if you could make a To Do List, with maybe a way to mark the task or item as complete and that is editable, you&#039;d be like the King Of Po......no, the King of Tuts!</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->I&#8217;d like to request a simple &#8220;To Do&#8221; or Task list.  This &#8216;iPhone SDK Tutorial – {Part 5}: Add, Delete &amp; Reorder UITableView Rows&#8217; could very easily be a  To Do List, if one could edit the data being added, so that the same new item &#8216;Mac Mini&#8217; is not being added, over and over when one clicks or touches the &#8220;add new row&#8221; button.  The Keyboard should pop up and the user should be able to add the title of specifically whatever new item or task he or she wants to add. </p>
<p>I like your nice, easy approach to these tutorials. if you could make a To Do List, with maybe a way to mark the task or item as complete and that is editable, you&#8217;d be like the King Of Po&#8230;&#8230;no, the King of Tuts!<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-830</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Sat, 11 Jul 2009 11:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-830</guid>
		<description>Hey,

this part works only with the simple view, but how can it be done with the grouped table view?

thanks!</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->Hey,</p>
<p>this part works only with the simple view, but how can it be done with the grouped table view?</p>
<p>thanks!<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddy</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-741</link>
		<dc:creator>Eddy</dc:creator>
		<pubDate>Sun, 05 Jul 2009 17:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-741</guid>
		<description>Hi Adeem,

Thank you for this tutorial!  It was very helpful.  I have an unusual requirement in my app which I would like to have reordering of rows only.  Do you know how I can hide the add/delete part if the tableview edit mode?

thank you in advance.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->Hi Adeem,</p>
<p>Thank you for this tutorial!  It was very helpful.  I have an unusual requirement in my app which I would like to have reordering of rows only.  Do you know how I can hide the add/delete part if the tableview edit mode?</p>
<p>thank you in advance.<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone SDK Tutorial + Video Tutorial - {Part 3} Grouped UITableView &#124; iPhone SDK Tutorial for Beginners &#124; Tutorial</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-714</link>
		<dc:creator>iPhone SDK Tutorial + Video Tutorial - {Part 3} Grouped UITableView &#124; iPhone SDK Tutorial for Beginners &#124; Tutorial</dc:creator>
		<pubDate>Fri, 03 Jul 2009 13:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-714</guid>
		<description>[...] [Change UITableView properties i.e background colour, accessory type, add footer and header] 5. Add, Delete &amp; Re-order UITableView rows 6. Creating UITableView using UITableViewCell 7. Adding Pictures into your UITableView using [...]</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->[...] [Change UITableView properties i.e background colour, accessory type, add footer and header] 5. Add, Delete &amp; Re-order UITableView rows 6. Creating UITableView using UITableViewCell 7. Adding Pictures into your UITableView using [...]<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone SDK Tutorial + Video Tutorial - {Part 1} UITableView using NSArray &#124; iPhone SDK Tutorial for Beginners &#124; Tutorial</title>
		<link>http://adeem.me/blog/2009/05/29/iphone-sdk-tutorial-add-delete-reorder-uitableview-row/comment-page-1/#comment-704</link>
		<dc:creator>iPhone SDK Tutorial + Video Tutorial - {Part 1} UITableView using NSArray &#124; iPhone SDK Tutorial for Beginners &#124; Tutorial</dc:creator>
		<pubDate>Fri, 03 Jul 2009 13:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=399#comment-704</guid>
		<description>[...] [Change UITableView properties i.e background colour, accessory type, add footer and header] 5. Add, Delete &amp; Re-order UITableView rows 6. Creating UITableView using UITableViewCell 7. Customizing UITableView using UITableViewCell 8. [...]</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->[...] [Change UITableView properties i.e background colour, accessory type, add footer and header] 5. Add, Delete &amp; Re-order UITableView rows 6. Creating UITableView using UITableViewCell 7. Customizing UITableView using UITableViewCell 8. [...]<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
