<?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 Programming Tutorial &#8211; Creating a ToDo List Using SQLite Part 3</title>
	<atom:link href="http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/</link>
	<description>iPhone Programming Tutorials</description>
	<lastBuildDate>Mon, 22 Mar 2010 10:13:55 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: j</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-2/#comment-4340</link>
		<dc:creator>j</dc:creator>
		<pubDate>Sun, 10 Jan 2010 16:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-4340</guid>
		<description>The 2-priority+1 calculation can be simplified to 3-priority.</description>
		<content:encoded><![CDATA[<p>The 2-priority+1 calculation can be simplified to 3-priority.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-3182</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 06 Oct 2009 22:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-3182</guid>
		<description>Update:

After exiting the application and then relaunching, status is being saved, but neither the todo text or the priority are.</description>
		<content:encoded><![CDATA[<p>Update:</p>
<p>After exiting the application and then relaunching, status is being saved, but neither the todo text or the priority are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-3181</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 06 Oct 2009 22:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-3181</guid>
		<description>Completed and compiled/ran Tutorial 3 with NO ERRORS but:

When I return to main list the Priority text and colored graphic are unchanged. Actually, after playing with each of the items, they have all defaulted to low/green.

If I change  the Priority and return to main list, and then return to detail (for same item) the segmented control is still set to whatever status I had set it to but 1. main list screen is not updating and 2. database is not saving changed setting either.

Been staring at this code (for long time) but still see nothing wrong (and no errors reported).

Any ideas where to look?

Thanks 

(and I also wanted to say thanks for the tuts, really very helpful learning tools. :-)  )


Jeff</description>
		<content:encoded><![CDATA[<p>Completed and compiled/ran Tutorial 3 with NO ERRORS but:</p>
<p>When I return to main list the Priority text and colored graphic are unchanged. Actually, after playing with each of the items, they have all defaulted to low/green.</p>
<p>If I change  the Priority and return to main list, and then return to detail (for same item) the segmented control is still set to whatever status I had set it to but 1. main list screen is not updating and 2. database is not saving changed setting either.</p>
<p>Been staring at this code (for long time) but still see nothing wrong (and no errors reported).</p>
<p>Any ideas where to look?</p>
<p>Thanks </p>
<p>(and I also wanted to say thanks for the tuts, really very helpful learning tools. <img src='http://icodeblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   )</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ameer</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-3045</link>
		<dc:creator>ameer</dc:creator>
		<pubDate>Mon, 21 Sep 2009 19:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-3045</guid>
		<description>&lt;a title=&quot;شبكة الهنوف&quot; href=&quot;http://www.alhnuf.com/&quot; rel=&quot;nofollow&quot;&gt;شبكة الهنوف&lt;/a&gt; - &lt;a title=&quot;صور سيارات&quot; href=&quot;http://www.alhnuf.com/members/1-albums124-صور-سيارات/&quot; rel=&quot;nofollow&quot;&gt;صور سيارات&lt;/a&gt; - &lt;a title=&quot;العاب بنات&quot; href=&quot;http://www.alhnuf.com/tags-list/العاب%20بنات.html&quot; rel=&quot;nofollow&quot;&gt;العاب بنات&lt;/a&gt; - &lt;a title=&quot;يوتيوب&quot; href=&quot;http://www.alhnuf.com/tags-list/يوتيوب.html&quot; rel=&quot;nofollow&quot;&gt;يوتيوب&lt;/a&gt; - &lt;a title=&quot;المنتدى الاسلامي&quot; href=&quot;http://www.alhnuf.com/2/&quot; rel=&quot;nofollow&quot;&gt;المنتدى الاسلامي&lt;/a&gt; - &lt;a title=&quot;تحميل القرآن الكريم&quot; href=&quot;http://www.alhnuf.com/278/&quot; rel=&quot;nofollow&quot;&gt;تحميل القرآن الكريم&lt;/a&gt; - &lt;a title=&quot;تحميل محاضرات اسلامية&quot; href=&quot;http://www.alhnuf.com/279/&quot; rel=&quot;nofollow&quot;&gt;تحميل محاضرات اسلامية&lt;/a&gt; - &lt;a title=&quot;تحميل اناشيد اسلامية&quot; href=&quot;http://www.alhnuf.com/170/&quot; rel=&quot;nofollow&quot;&gt;تحميل اناشيد اسلامية&lt;/a&gt; - &lt;a title=&quot;منتدى الصور&quot; href=&quot;http://www.alhnuf.com/8/&quot; rel=&quot;nofollow&quot;&gt;منتدى الصور&lt;/a&gt; - &lt;a title=&quot;صور حول العالم&quot; href=&quot;http://www.alhnuf.com/277/&quot; rel=&quot;nofollow&quot;&gt;صور حول العالم&lt;/a&gt; - &lt;a title=&quot;العاب صور&quot; href=&quot;http://www.alhnuf.com/268/&quot; rel=&quot;nofollow&quot;&gt;العاب صور&lt;/a&gt; - &lt;a title=&quot;خلفيات الشاشة&quot; href=&quot;http://www.alhnuf.com/254/&quot; rel=&quot;nofollow&quot;&gt;خلفيات الشاشة&lt;/a&gt; - &lt;a title=&quot;منتدى صور الاطفال&quot; href=&quot;http://www.alhnuf.com/157/&quot; rel=&quot;nofollow&quot;&gt;منتدى صور الاطفال&lt;/a&gt; - &lt;a title=&quot;منتدى العجائب والغرائب&quot; href=&quot;http://www.alhnuf.com/7/&quot; rel=&quot;nofollow&quot;&gt;منتدى العجائب والغرائب&lt;/a&gt; - &lt;a title=&quot;منتدى الخواطر&quot; href=&quot;http://www.alhnuf.com/11/&quot; rel=&quot;nofollow&quot;&gt;منتدى الخواطر&lt;/a&gt; - &lt;a title=&quot;منتدى الشعر&quot; href=&quot;http://www.alhnuf.com/31/&quot; rel=&quot;nofollow&quot;&gt;منتدى القصص و الروايات&lt;/a&gt; - &lt;a title=&quot;منتدى حواء&quot; href=&quot;http://www.alhnuf.com/14/&quot; rel=&quot;nofollow&quot;&gt;منتدى حواء&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a title="شبكة الهنوف" href="http://www.alhnuf.com/" rel="nofollow">شبكة الهنوف</a> &#8211; <a title="صور سيارات" href="http://www.alhnuf.com/members/1-albums124-صور-سيارات/" rel="nofollow">صور سيارات</a> &#8211; <a title="العاب بنات" href="http://www.alhnuf.com/tags-list/العاب%20بنات.html" rel="nofollow">العاب بنات</a> &#8211; <a title="يوتيوب" href="http://www.alhnuf.com/tags-list/يوتيوب.html" rel="nofollow">يوتيوب</a> &#8211; <a title="المنتدى الاسلامي" href="http://www.alhnuf.com/2/" rel="nofollow">المنتدى الاسلامي</a> &#8211; <a title="تحميل القرآن الكريم" href="http://www.alhnuf.com/278/" rel="nofollow">تحميل القرآن الكريم</a> &#8211; <a title="تحميل محاضرات اسلامية" href="http://www.alhnuf.com/279/" rel="nofollow">تحميل محاضرات اسلامية</a> &#8211; <a title="تحميل اناشيد اسلامية" href="http://www.alhnuf.com/170/" rel="nofollow">تحميل اناشيد اسلامية</a> &#8211; <a title="منتدى الصور" href="http://www.alhnuf.com/8/" rel="nofollow">منتدى الصور</a> &#8211; <a title="صور حول العالم" href="http://www.alhnuf.com/277/" rel="nofollow">صور حول العالم</a> &#8211; <a title="العاب صور" href="http://www.alhnuf.com/268/" rel="nofollow">العاب صور</a> &#8211; <a title="خلفيات الشاشة" href="http://www.alhnuf.com/254/" rel="nofollow">خلفيات الشاشة</a> &#8211; <a title="منتدى صور الاطفال" href="http://www.alhnuf.com/157/" rel="nofollow">منتدى صور الاطفال</a> &#8211; <a title="منتدى العجائب والغرائب" href="http://www.alhnuf.com/7/" rel="nofollow">منتدى العجائب والغرائب</a> &#8211; <a title="منتدى الخواطر" href="http://www.alhnuf.com/11/" rel="nofollow">منتدى الخواطر</a> &#8211; <a title="منتدى الشعر" href="http://www.alhnuf.com/31/" rel="nofollow">منتدى القصص و الروايات</a> &#8211; <a title="منتدى حواء" href="http://www.alhnuf.com/14/" rel="nofollow">منتدى حواء</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamorn</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-3034</link>
		<dc:creator>Jamorn</dc:creator>
		<pubDate>Sat, 19 Sep 2009 16:22:23 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-3034</guid>
		<description>Hi Brandon,

Thanks for the wonderful tutorial, I&#039;ve been following through and it has worked well so far until this one. I can&#039;t seem to properly run the application. I run into a error with this message: &quot;unable to read unknown load command 0x80000022&quot; when I select a &quot;ToDo&quot; item.

The problem seems to be coming from this line:

[self.navigationController pushViewController:self.todoView animated:YES];

As an exception was thrown when it tries to run:
[UIViewController _loadViewFromNibNamed:bundle:]

All this came from the debugger, but I can&#039;t seem to find anything wrong with my ViewController or the RootViewController codes.</description>
		<content:encoded><![CDATA[<p>Hi Brandon,</p>
<p>Thanks for the wonderful tutorial, I&#8217;ve been following through and it has worked well so far until this one. I can&#8217;t seem to properly run the application. I run into a error with this message: &#8220;unable to read unknown load command 0&#215;80000022&#8243; when I select a &#8220;ToDo&#8221; item.</p>
<p>The problem seems to be coming from this line:</p>
<p>[self.navigationController pushViewController:self.todoView animated:YES];</p>
<p>As an exception was thrown when it tries to run:<br />
[UIViewController _loadViewFromNibNamed:bundle:]</p>
<p>All this came from the debugger, but I can&#8217;t seem to find anything wrong with my ViewController or the RootViewController codes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pamnoxonisma</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-2947</link>
		<dc:creator>pamnoxonisma</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-2947</guid>
		<description>The requested URL /forxru2/zadanie.txt was not found on this server. Not Found Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at allhomedecor.org Port 80     404 Not Found </description>
		<content:encoded><![CDATA[<p>The requested URL /forxru2/zadanie.txt was not found on this server. Not Found Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at allhomedecor.org Port 80     404 Not Found</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brad</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-2857</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Thu, 20 Aug 2009 17:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-2857</guid>
		<description>are we supposed to be able to edit the text? i&#039;m assuming not, which is why my app doesn&#039;t do that!</description>
		<content:encoded><![CDATA[<p>are we supposed to be able to edit the text? i&#8217;m assuming not, which is why my app doesn&#8217;t do that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calgman</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-2159</link>
		<dc:creator>Calgman</dc:creator>
		<pubDate>Sun, 28 Jun 2009 03:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-2159</guid>
		<description>Figured it out!

The view that is needed is in File-&gt;New-&gt;CocoaTouch-&gt;View.

I was using File-&gt;New-&gt;Cocoa-&gt;View.

Works like a charm!

Sam.</description>
		<content:encoded><![CDATA[<p>Figured it out!</p>
<p>The view that is needed is in File-&gt;New-&gt;CocoaTouch-&gt;View.</p>
<p>I was using File-&gt;New-&gt;Cocoa-&gt;View.</p>
<p>Works like a charm!</p>
<p>Sam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calgman</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-2157</link>
		<dc:creator>Calgman</dc:creator>
		<pubDate>Sun, 28 Jun 2009 00:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-2157</guid>
		<description>Hi 

This series is a great one.  Keep up the good work, Brandon.

I am fairly new - so please bear with me and my questions.

I am a little confused with the following instructions in this turorial:

Now we are going to create the view that will display when the user selects the todo in the UITableView.  Go ahead and open up Interface Builder by selecting one of you existing nib (.xib) files.  Once it’s open add a new View by clicking File -&gt; New and select View. Drag the following controls.
UITextView
UISegmentedControl 

When I try, a &quot;custom view&quot; is presented. The library does not seem to have UITextView and UISegmentedControl.  

What am I missing? 

Regards - Sam!</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>This series is a great one.  Keep up the good work, Brandon.</p>
<p>I am fairly new &#8211; so please bear with me and my questions.</p>
<p>I am a little confused with the following instructions in this turorial:</p>
<p>Now we are going to create the view that will display when the user selects the todo in the UITableView.  Go ahead and open up Interface Builder by selecting one of you existing nib (.xib) files.  Once it’s open add a new View by clicking File -&gt; New and select View. Drag the following controls.<br />
UITextView<br />
UISegmentedControl </p>
<p>When I try, a &#8220;custom view&#8221; is presented. The library does not seem to have UITextView and UISegmentedControl.  </p>
<p>What am I missing? </p>
<p>Regards &#8211; Sam!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1726</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 22 Apr 2009 04:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1726</guid>
		<description>Superb job. Better learning tool than any of the three iPhone books I own.</description>
		<content:encoded><![CDATA[<p>Superb job. Better learning tool than any of the three iPhone books I own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wiegeabo</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1667</link>
		<dc:creator>wiegeabo</dc:creator>
		<pubDate>Mon, 06 Apr 2009 02:18:34 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1667</guid>
		<description>Figured it out.  And I&#039;m pretty sure someone mentioned it early.

The database on my phone simulator was bad.  I deleted the app and rebuilt the code, and the new version ran just fine.

Time to move onto to tutorial 4. :D</description>
		<content:encoded><![CDATA[<p>Figured it out.  And I&#8217;m pretty sure someone mentioned it early.</p>
<p>The database on my phone simulator was bad.  I deleted the app and rebuilt the code, and the new version ran just fine.</p>
<p>Time to move onto to tutorial 4. <img src='http://icodeblog.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wiegeabo</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1657</link>
		<dc:creator>wiegeabo</dc:creator>
		<pubDate>Sun, 05 Apr 2009 06:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1657</guid>
		<description>Ok, it has something to do with the sqlite3_column_text line.  Because if I change it from (init_statement, 0) to (init_statement, 1), essentially getting a different column, the app runs.  Obviously the the output on the screen is wrong, but it runs.</description>
		<content:encoded><![CDATA[<p>Ok, it has something to do with the sqlite3_column_text line.  Because if I change it from (init_statement, 0) to (init_statement, 1), essentially getting a different column, the app runs.  Obviously the the output on the screen is wrong, but it runs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wiegeabo</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1656</link>
		<dc:creator>wiegeabo</dc:creator>
		<pubDate>Sun, 05 Apr 2009 04:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1656</guid>
		<description>Brandon,

The code builds for me without error, but when I run it, it terminates on me.  The full error I get is:

Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reson: &#039;*** +[NSString stringWithUTF8String:]: NULL cString&#039;

I&#039;m assuming it has something to do with initWithPrimaryKey because it&#039;s the only place stringWithUTF8String is used.  But my code looks correct.  Any ideas?</description>
		<content:encoded><![CDATA[<p>Brandon,</p>
<p>The code builds for me without error, but when I run it, it terminates on me.  The full error I get is:</p>
<p>Terminating app due to uncaught exception &#8216;NSInvalidArgumentException&#8217;, reson: &#8216;*** +[NSString stringWithUTF8String:]: NULL cString&#8217;</p>
<p>I&#8217;m assuming it has something to do with initWithPrimaryKey because it&#8217;s the only place stringWithUTF8String is used.  But my code looks correct.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nir Etzion</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1515</link>
		<dc:creator>Nir Etzion</dc:creator>
		<pubDate>Tue, 10 Mar 2009 16:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1515</guid>
		<description>I think I have the same problem as Mark had at the beginning. When I ran the application, in the second view, i see the UITextView, but i do not see the UISegmentedControl, the UILable and the UIButton.

I don&#039;t have any errors/warnings. Any idea how to start bebugging it?

Thanks</description>
		<content:encoded><![CDATA[<p>I think I have the same problem as Mark had at the beginning. When I ran the application, in the second view, i see the UITextView, but i do not see the UISegmentedControl, the UILable and the UIButton.</p>
<p>I don&#8217;t have any errors/warnings. Any idea how to start bebugging it?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1323</link>
		<dc:creator>J</dc:creator>
		<pubDate>Sun, 15 Feb 2009 19:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1323</guid>
		<description>Brandon,

I have a strange problem.  I followed the tutorial and my program freezes at the following line in RootViewController.m:

Function:
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

Failing Line:
	[self.navigationController pushViewController:self.todoView animated:YES];

I ran your sample program and didn&#039;t have this problem.  I suspect that the navigationController didn&#039;t get initialized properly, but I can&#039;t see any differences between my code and yours.  Do you have any ideas as to what may be going on?  Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Brandon,</p>
<p>I have a strange problem.  I followed the tutorial and my program freezes at the following line in RootViewController.m:</p>
<p>Function:<br />
 &#8211; (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath</p>
<p>Failing Line:<br />
	[self.navigationController pushViewController:self.todoView animated:YES];</p>
<p>I ran your sample program and didn&#8217;t have this problem.  I suspect that the navigationController didn&#8217;t get initialized properly, but I can&#8217;t see any differences between my code and yours.  Do you have any ideas as to what may be going on?  Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brnzn</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-1024</link>
		<dc:creator>brnzn</dc:creator>
		<pubDate>Sun, 04 Jan 2009 07:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-1024</guid>
		<description>Mad props for taking the time to write these tutorials up man!  They&#039;re a great resource for first-time iPhone devs

Cheers,
brnzn</description>
		<content:encoded><![CDATA[<p>Mad props for taking the time to write these tutorials up man!  They&#8217;re a great resource for first-time iPhone devs</p>
<p>Cheers,<br />
brnzn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-995</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 01 Jan 2009 01:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-995</guid>
		<description>Mike, Kevin:

Check your sqlite3_bind_int() statements and make sure the numbers correspond to the correct position of ?&#039;s in the dehydrate statement.  Mine were off by 1 and that caused exactly what you&#039;re talking about.</description>
		<content:encoded><![CDATA[<p>Mike, Kevin:</p>
<p>Check your sqlite3_bind_int() statements and make sure the numbers correspond to the correct position of ?&#8217;s in the dehydrate statement.  Mine were off by 1 and that caused exactly what you&#8217;re talking about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Romero</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-912</link>
		<dc:creator>Pablo Romero</dc:creator>
		<pubDate>Fri, 05 Dec 2008 23:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-912</guid>
		<description>Hi, very nice tutorial, I am starting to develop on IPhone and I found this tutorial very helpfull.

Keep it up!!

best
Pablo</description>
		<content:encoded><![CDATA[<p>Hi, very nice tutorial, I am starting to develop on IPhone and I found this tutorial very helpfull.</p>
<p>Keep it up!!</p>
<p>best<br />
Pablo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-899</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 29 Nov 2008 16:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-899</guid>
		<description>I second Mike&#039;s question, I am having similar issues.  Any ideas anyone?</description>
		<content:encoded><![CDATA[<p>I second Mike&#8217;s question, I am having similar issues.  Any ideas anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-880</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 22 Nov 2008 06:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-880</guid>
		<description>So, I am got the tutorial to work as it is written, but as I am playing with it the dehydrate_statement = nil is being changed some how. When I exit the program it does not save my changes to the database, so I changed the &quot; if (dehydrate_statement == nil) &quot; to &quot; if (dehydrate_statement != nil) &quot; and it works. Any idea why it would be set to anything besides nil? I still have the &quot; static sqlite3_stmt *dehydrate_statement = nil; &quot; line at the start of Todo.m

Thanks for any help!!!</description>
		<content:encoded><![CDATA[<p>So, I am got the tutorial to work as it is written, but as I am playing with it the dehydrate_statement = nil is being changed some how. When I exit the program it does not save my changes to the database, so I changed the &#8221; if (dehydrate_statement == nil) &#8221; to &#8221; if (dehydrate_statement != nil) &#8221; and it works. Any idea why it would be set to anything besides nil? I still have the &#8221; static sqlite3_stmt *dehydrate_statement = nil; &#8221; line at the start of Todo.m</p>
<p>Thanks for any help!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shogo</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-840</link>
		<dc:creator>Shogo</dc:creator>
		<pubDate>Thu, 13 Nov 2008 09:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-840</guid>
		<description>No Worries Brandon,

Would appreciate a tutorial on this subject (even a mini-tutorial would be fine).  But be quick mate cos I&#039;m holding my breathe in anticipation ;-)

Shogo</description>
		<content:encoded><![CDATA[<p>No Worries Brandon,</p>
<p>Would appreciate a tutorial on this subject (even a mini-tutorial would be fine).  But be quick mate cos I&#8217;m holding my breathe in anticipation <img src='http://icodeblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Shogo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-836</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 12 Nov 2008 18:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-836</guid>
		<description>Hi, 

I have a n00b question here.... I hope someone can help me as it&#039;s totally stumped my development.

I have done all this and created all the views and it kind of works. But I noticed the Update Status button wasn&#039;t there on the toDoView. I couldn&#039;t get this to work, but then I noticed NO changes I make to the .xib are being reflected in the deloyed application. 

I MIGHT have moved the .xib file into the resources folder from another one (I can&#039;t remember tbh) but now it compiles fine, but no changes I make to my xib are happening on the view when it is deployed.

Is there some simple way to make sure that the view I have created in interface builder is the one that is being compiled and created.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I have a n00b question here&#8230;. I hope someone can help me as it&#8217;s totally stumped my development.</p>
<p>I have done all this and created all the views and it kind of works. But I noticed the Update Status button wasn&#8217;t there on the toDoView. I couldn&#8217;t get this to work, but then I noticed NO changes I make to the .xib are being reflected in the deloyed application. </p>
<p>I MIGHT have moved the .xib file into the resources folder from another one (I can&#8217;t remember tbh) but now it compiles fine, but no changes I make to my xib are happening on the view when it is deployed.</p>
<p>Is there some simple way to make sure that the view I have created in interface builder is the one that is being compiled and created.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-832</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Tue, 11 Nov 2008 20:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-832</guid>
		<description>@Shogo,

I can&#039;t show you this simply in a comment.  It would have to be another tut in itself.  I may consider something like this in the future.  Sorry i can&#039;t be of more help for now.

Try posting in the forums and see if anyone has a solution.</description>
		<content:encoded><![CDATA[<p>@Shogo,</p>
<p>I can&#8217;t show you this simply in a comment.  It would have to be another tut in itself.  I may consider something like this in the future.  Sorry i can&#8217;t be of more help for now.</p>
<p>Try posting in the forums and see if anyone has a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shogo</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-825</link>
		<dc:creator>Shogo</dc:creator>
		<pubDate>Tue, 11 Nov 2008 10:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-825</guid>
		<description>Brandon,

This is a great series of tutorials and I can only add my praise to the many others before me.

I have a slightly different question:-  I want my navigation &quot;root&quot; not to start with my rootcontroller but from another view that gets launched from the main window.

So far patching in your sample code (and adapting for my own requirements has worked so far.  I&#039;m now stuck as I cant get the navigation stack to work for me.  Looking how a &quot;Navigation based&quot; app is constructed by xcode it seems that the naviagtioncontroller is added to the main window via applicationDidFinishLaunching.  I would like to connect mine in viewDidLoad of the view thats intended to be navigation (tableview) based.  Any ideas how I attach a navigation controller to another view other than rootcontroller  and therefore that view becomes the navigation root.

Shogo</description>
		<content:encoded><![CDATA[<p>Brandon,</p>
<p>This is a great series of tutorials and I can only add my praise to the many others before me.</p>
<p>I have a slightly different question:-  I want my navigation &#8220;root&#8221; not to start with my rootcontroller but from another view that gets launched from the main window.</p>
<p>So far patching in your sample code (and adapting for my own requirements has worked so far.  I&#8217;m now stuck as I cant get the navigation stack to work for me.  Looking how a &#8220;Navigation based&#8221; app is constructed by xcode it seems that the naviagtioncontroller is added to the main window via applicationDidFinishLaunching.  I would like to connect mine in viewDidLoad of the view thats intended to be navigation (tableview) based.  Any ideas how I attach a navigation controller to another view other than rootcontroller  and therefore that view becomes the navigation root.</p>
<p>Shogo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MGC</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-707</link>
		<dc:creator>MGC</dc:creator>
		<pubDate>Thu, 23 Oct 2008 07:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-707</guid>
		<description>&quot;There are 2 reasons that reason we can’t just pass the value of the UISegmentedControl... &quot;

Should be:

&quot;There are 2 reasons that we can’t just pass the value of the UISegmentedControl...&quot;</description>
		<content:encoded><![CDATA[<p>&#8220;There are 2 reasons that reason we can’t just pass the value of the UISegmentedControl&#8230; &#8221;</p>
<p>Should be:</p>
<p>&#8220;There are 2 reasons that we can’t just pass the value of the UISegmentedControl&#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MGC</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-699</link>
		<dc:creator>MGC</dc:creator>
		<pubDate>Wed, 22 Oct 2008 05:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-699</guid>
		<description>&quot;Finally, there is the line “self.status = sqlite3_column_in(init_statement,2);”. &quot;

Small type-o in the instructions above.

Should be:
&quot;Finally, there is the line “self.status = sqlite3_column_int(init_statement,2);”. &quot;</description>
		<content:encoded><![CDATA[<p>&#8220;Finally, there is the line “self.status = sqlite3_column_in(init_statement,2);”. &#8221;</p>
<p>Small type-o in the instructions above.</p>
<p>Should be:<br />
&#8220;Finally, there is the line “self.status = sqlite3_column_int(init_statement,2);”. &#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone Application And Website Development &#124; Athena Design - The Lounge</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-467</link>
		<dc:creator>iPhone Application And Website Development &#124; Athena Design - The Lounge</dc:creator>
		<pubDate>Mon, 29 Sep 2008 07:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-467</guid>
		<description>[...] Creating a ToDo List Using SQLite - Part 1 -Part 2 - Part 3 [...]</description>
		<content:encoded><![CDATA[<p>[...] Creating a ToDo List Using SQLite &#8211; Part 1 -Part 2 &#8211; Part 3 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-401</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 23 Sep 2008 11:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-401</guid>
		<description>Great work Brandon. Thanks. Just a sidenote on initializing the ToDoViewController. I think it&#039;s better to use a custom setter of the todo object.

So the initial setup of the segmented button, text etc. goes directly into the setter. The RootViewController doesn&#039;t have to know about the UI elements of the ToDoView in my opinion.

I changed my code to this:

RootViewController didSelectRowAtIndexPath method:

	[self.navigationController pushViewController: self.todoView animated:YES];
	[self.todoView setTodo: todo];

ToDoViewController.h:

removed the property todo and added the following lines

- (ToDo*)todo;
- (void)setTodo:(ToDo*)newTodo;

Added getter/setter in ToDoViewController.m to:

- (ToDo*)todo {
	return todo;
}

- (void)setTodo:(ToDo*)newTodo {
	todo = newTodo;

	[self setTitle: [todo text]];
	[self.todoText setText: [todo text]];

	NSInteger priority = todo.priority - 1;

	if (priority &gt; 2 &#124;&#124; priority &lt; 0) {
		priority = 1;
	}
	
	priority = 2 - priority;
	
	[self.todoPriority setSelectedSegmentIndex: priority];

	
	if (todo.status == 1) {
		[[self todoButton] setTitle:@&quot;Mark As In Progress&quot; forState: UIControlStateNormal];
		[[self todoButton] setTitle:@&quot;Mark As In Progress&quot; forState: UIControlStateHighlighted];
		[[self todoStatus] setText:@&quot;Complete&quot;];
	} else {
		[[self todoButton] setTitle:@&quot;Mark As Complete&quot; forState: UIControlStateNormal];
		[[self todoButton] setTitle:@&quot;Mark As Complete&quot; forState: UIControlStateHighlighted];
		[[self todoStatus] setText:@&quot;In Progress&quot;];
	}
}</description>
		<content:encoded><![CDATA[<p>Great work Brandon. Thanks. Just a sidenote on initializing the ToDoViewController. I think it&#8217;s better to use a custom setter of the todo object.</p>
<p>So the initial setup of the segmented button, text etc. goes directly into the setter. The RootViewController doesn&#8217;t have to know about the UI elements of the ToDoView in my opinion.</p>
<p>I changed my code to this:</p>
<p>RootViewController didSelectRowAtIndexPath method:</p>
<p>	[self.navigationController pushViewController: self.todoView animated:YES];<br />
	[self.todoView setTodo: todo];</p>
<p>ToDoViewController.h:</p>
<p>removed the property todo and added the following lines</p>
<p>- (ToDo*)todo;<br />
- (void)setTodo:(ToDo*)newTodo;</p>
<p>Added getter/setter in ToDoViewController.m to:</p>
<p>- (ToDo*)todo {<br />
	return todo;<br />
}</p>
<p>- (void)setTodo:(ToDo*)newTodo {<br />
	todo = newTodo;</p>
<p>	[self setTitle: [todo text]];<br />
	[self.todoText setText: [todo text]];</p>
<p>	NSInteger priority = todo.priority &#8211; 1;</p>
<p>	if (priority &gt; 2 || priority &lt; 0) {<br />
		priority = 1;<br />
	}</p>
<p>	priority = 2 &#8211; priority;</p>
<p>	[self.todoPriority setSelectedSegmentIndex: priority];</p>
<p>	if (todo.status == 1) {<br />
		[[self todoButton] setTitle:@&#8221;Mark As In Progress&#8221; forState: UIControlStateNormal];<br />
		[[self todoButton] setTitle:@&#8221;Mark As In Progress&#8221; forState: UIControlStateHighlighted];<br />
		[[self todoStatus] setText:@&#8221;Complete&#8221;];<br />
	} else {<br />
		[[self todoButton] setTitle:@&#8221;Mark As Complete&#8221; forState: UIControlStateNormal];<br />
		[[self todoButton] setTitle:@&#8221;Mark As Complete&#8221; forState: UIControlStateHighlighted];<br />
		[[self todoStatus] setText:@&#8221;In Progress&#8221;];<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone Programming Tutorial - Creating a ToDo List Using SQLite Part 4 &#124; iCodeBlog</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-398</link>
		<dc:creator>iPhone Programming Tutorial - Creating a ToDo List Using SQLite Part 4 &#124; iCodeBlog</dc:creator>
		<pubDate>Tue, 23 Sep 2008 00:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-398</guid>
		<description>[...] iPhone Programming Tutorial - Creating a ToDo List Using SQLite Part 3 [...]</description>
		<content:encoded><![CDATA[<p>[...] iPhone Programming Tutorial &#8211; Creating a ToDo List Using SQLite Part 3 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://icodeblog.com/2008/09/10/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-3/comment-page-1/#comment-394</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Mon, 22 Sep 2008 13:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=339#comment-394</guid>
		<description>@cliff

I&#039;m glad you fixed you problem. I ran into the same issue of the button becoming blocked when I was creating the tutorial. My only solution was to resize the rest of the components. I&#039;ll post if I find a better solution.</description>
		<content:encoded><![CDATA[<p>@cliff</p>
<p>I&#8217;m glad you fixed you problem. I ran into the same issue of the button becoming blocked when I was creating the tutorial. My only solution was to resize the rest of the components. I&#8217;ll post if I find a better solution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
