<?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 2</title>
	<atom:link href="http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/</link>
	<description>iPhone Programming Tutorials</description>
	<lastBuildDate>Sat, 20 Mar 2010 23:11:37 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pithhelmet</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4752</link>
		<dc:creator>pithhelmet</dc:creator>
		<pubDate>Sat, 27 Feb 2010 16:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4752</guid>
		<description>One additional question....

the update status button text does not change when clicked.  I know the event is being fired because the text in the status text line does indicate the proper values, just the toggling of the button text does not work....

any ideas?</description>
		<content:encoded><![CDATA[<p>One additional question&#8230;.</p>
<p>the update status button text does not change when clicked.  I know the event is being fired because the text in the status text line does indicate the proper values, just the toggling of the button text does not work&#8230;.</p>
<p>any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pithhelmet</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4751</link>
		<dc:creator>pithhelmet</dc:creator>
		<pubDate>Sat, 27 Feb 2010 16:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4751</guid>
		<description>Hi Brandon....

Three questions -

1) How do I add a login page to be first page displayed on this application?  Just a simple view with a graphic, a text entry field and a button.  The button click will bring up the tutorial entry point?

2) When the item list is first displayed, the icons and priority are correct (as in database) but when I look at item, change priority, then return to item list, the icons for the priority are all green dots?

3) When I deploy the application to my iTouch, if i leave the debug code section in, the app works...  if I set it to release, the app will not show the detail view of the data. 

Thanks for a fantastic tutorial!!

take care
tony</description>
		<content:encoded><![CDATA[<p>Hi Brandon&#8230;.</p>
<p>Three questions -</p>
<p>1) How do I add a login page to be first page displayed on this application?  Just a simple view with a graphic, a text entry field and a button.  The button click will bring up the tutorial entry point?</p>
<p>2) When the item list is first displayed, the icons and priority are correct (as in database) but when I look at item, change priority, then return to item list, the icons for the priority are all green dots?</p>
<p>3) When I deploy the application to my iTouch, if i leave the debug code section in, the app works&#8230;  if I set it to release, the app will not show the detail view of the data. </p>
<p>Thanks for a fantastic tutorial!!</p>
<p>take care<br />
tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Campbell</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4691</link>
		<dc:creator>Campbell</dc:creator>
		<pubDate>Sat, 20 Feb 2010 13:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4691</guid>
		<description>Never mind found it. I named the class ToDoCell.

You always find your errors after you ask the question.</description>
		<content:encoded><![CDATA[<p>Never mind found it. I named the class ToDoCell.</p>
<p>You always find your errors after you ask the question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Campbell</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4690</link>
		<dc:creator>Campbell</dc:creator>
		<pubDate>Sat, 20 Feb 2010 13:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4690</guid>
		<description>Hey great tutorials.

I&#039;m getting a compile error in RootViewController.m - &quot;TodoCell&quot; undeclared.

Everything compiled just fine until this point. 

&quot;Todo.h&quot; and &quot;TodoCell.h&quot; have both been included.

Any thoughts?</description>
		<content:encoded><![CDATA[<p>Hey great tutorials.</p>
<p>I&#8217;m getting a compile error in RootViewController.m &#8211; &#8220;TodoCell&#8221; undeclared.</p>
<p>Everything compiled just fine until this point. </p>
<p>&#8220;Todo.h&#8221; and &#8220;TodoCell.h&#8221; have both been included.</p>
<p>Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MIke</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4459</link>
		<dc:creator>MIke</dc:creator>
		<pubDate>Sat, 23 Jan 2010 23:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4459</guid>
		<description>I finde why there is empty list, for some reason by me, the database path have to user absolute path. That means in file: todoAppDeleagate.m and funcion name: initialzeDatabase, you have to difine your database path. 

Yes, NSLog() will help you. for using that, you have to write

#define DEBUG

after import part by file todoAppDelegate.h

Hope my infomation could help somebody.</description>
		<content:encoded><![CDATA[<p>I finde why there is empty list, for some reason by me, the database path have to user absolute path. That means in file: todoAppDeleagate.m and funcion name: initialzeDatabase, you have to difine your database path. </p>
<p>Yes, NSLog() will help you. for using that, you have to write</p>
<p>#define DEBUG</p>
<p>after import part by file todoAppDelegate.h</p>
<p>Hope my infomation could help somebody.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MIke</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4440</link>
		<dc:creator>MIke</dc:creator>
		<pubDate>Thu, 21 Jan 2010 23:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4440</guid>
		<description>I have same problem with Silvia</description>
		<content:encoded><![CDATA[<p>I have same problem with Silvia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silvia Rebelo</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4393</link>
		<dc:creator>Silvia Rebelo</dc:creator>
		<pubDate>Fri, 15 Jan 2010 16:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4393</guid>
		<description>Hi Brandom,

I&#039;ve been following your tutorials and all have been really useful. Thanks a lot for sharing them.

I&#039;m having issues with this particular one: has no errors but doesn&#039;t display anything...

I download then your code. I run it and... same thing.

Have you got any idea what is this happening?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Brandom,</p>
<p>I&#8217;ve been following your tutorials and all have been really useful. Thanks a lot for sharing them.</p>
<p>I&#8217;m having issues with this particular one: has no errors but doesn&#8217;t display anything&#8230;</p>
<p>I download then your code. I run it and&#8230; same thing.</p>
<p>Have you got any idea what is this happening?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4243</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 02 Jan 2010 06:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4243</guid>
		<description>In TodoCell.h in your solution I am getting three errors:

The errors are:
error: expected specifier-qualifier-list before &#039;Todo&#039; (line 13: Todo  *todo;)
error: expected &#039;)&#039; before &#039;Todo&#039; (line 25: -(Todo *)todo;)
error: expected &#039;)&#039; before &#039;Todo&#039; (line 26: -(void)setTodo:(Todo *)newTodo;)

Can anyone help?  I am using the code sample code from this site, so I don&#039;t understand what could be wrong.  Thanks</description>
		<content:encoded><![CDATA[<p>In TodoCell.h in your solution I am getting three errors:</p>
<p>The errors are:<br />
error: expected specifier-qualifier-list before &#8216;Todo&#8217; (line 13: Todo  *todo;)<br />
error: expected &#8216;)&#8217; before &#8216;Todo&#8217; (line 25: -(Todo *)todo;)<br />
error: expected &#8216;)&#8217; before &#8216;Todo&#8217; (line 26: -(void)setTodo:(Todo *)newTodo;)</p>
<p>Can anyone help?  I am using the code sample code from this site, so I don&#8217;t understand what could be wrong.  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeno Davatz</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4177</link>
		<dc:creator>Zeno Davatz</dc:creator>
		<pubDate>Wed, 23 Dec 2009 14:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4177</guid>
		<description>Ok, above is not necessary. I mixed up 

todoPriorityLabel 

with

todoTextLabel</description>
		<content:encoded><![CDATA[<p>Ok, above is not necessary. I mixed up </p>
<p>todoPriorityLabel </p>
<p>with</p>
<p>todoTextLabel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeno Davatz</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4176</link>
		<dc:creator>Zeno Davatz</dc:creator>
		<pubDate>Wed, 23 Dec 2009 10:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4176</guid>
		<description>See: http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UITableViewCell_Class/DeprecationAppendix/AppendixADeprecatedAPI.html

initWithFrame:reuseIdentifier:

Initializes and returns a table cell object. (Deprecated in iPhone OS 3.0. Use initWithStyle:reuseIdentifier: instead.)

That is in file TodoCell.m:32

How do I need to change that?</description>
		<content:encoded><![CDATA[<p>See: <a href="http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UITableViewCell_Class/DeprecationAppendix/AppendixADeprecatedAPI.html" rel="nofollow">http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UITableViewCell_Class/DeprecationAppendix/AppendixADeprecatedAPI.html</a></p>
<p>initWithFrame:reuseIdentifier:</p>
<p>Initializes and returns a table cell object. (Deprecated in iPhone OS 3.0. Use initWithStyle:reuseIdentifier: instead.)</p>
<p>That is in file TodoCell.m:32</p>
<p>How do I need to change that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeno Davatz</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4174</link>
		<dc:creator>Zeno Davatz</dc:creator>
		<pubDate>Wed, 23 Dec 2009 09:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4174</guid>
		<description>Ok, was missing the :fontSize in 

UIFont boldSystemFontOfSize:fontSize

Console Debugging is very useful!</description>
		<content:encoded><![CDATA[<p>Ok, was missing the :fontSize in </p>
<p>UIFont boldSystemFontOfSize:fontSize</p>
<p>Console Debugging is very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeno Davatz</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4173</link>
		<dc:creator>Zeno Davatz</dc:creator>
		<pubDate>Wed, 23 Dec 2009 09:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4173</guid>
		<description>Ok, this is what GDB tells me: 

Attaching to process 10936.
2009-12-23 10:32:39.211 todo[10936:207] *** +[UIFont boldSystemFontOfSize]: unrecognized selector sent to class 0x16927e0
2009-12-23 10:32:39.213 todo[10936:207] *** Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;*** +[UIFont boldSystemFontOfSize]: unrecognized selector sent to class 0x16927e0&#039;
2009-12-23 10:32:39.214 todo[10936:207] Stack: (

I am on Xcode 3.2.1</description>
		<content:encoded><![CDATA[<p>Ok, this is what GDB tells me: </p>
<p>Attaching to process 10936.<br />
2009-12-23 10:32:39.211 todo[10936:207] *** +[UIFont boldSystemFontOfSize]: unrecognized selector sent to class 0&#215;16927e0<br />
2009-12-23 10:32:39.213 todo[10936:207] *** Terminating app due to uncaught exception &#8216;NSInvalidArgumentException&#8217;, reason: &#8216;*** +[UIFont boldSystemFontOfSize]: unrecognized selector sent to class 0&#215;16927e0&#8242;<br />
2009-12-23 10:32:39.214 todo[10936:207] Stack: (</p>
<p>I am on Xcode 3.2.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeno Davatz</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4172</link>
		<dc:creator>Zeno Davatz</dc:creator>
		<pubDate>Wed, 23 Dec 2009 09:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4172</guid>
		<description>My code compiles but then crashes after install on the iPhone-Simulator. That must be a memory leak but how do I find that memory leak?

I also get No -&#039;initWithPrimaryKey:database:&#039; method found.

But as said: it still compiles and installs. Then it just crashes on the Simulator.</description>
		<content:encoded><![CDATA[<p>My code compiles but then crashes after install on the iPhone-Simulator. That must be a memory leak but how do I find that memory leak?</p>
<p>I also get No -&#8217;initWithPrimaryKey:database:&#8217; method found.</p>
<p>But as said: it still compiles and installs. Then it just crashes on the Simulator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipa Wentling</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4166</link>
		<dc:creator>Felipa Wentling</dc:creator>
		<pubDate>Tue, 22 Dec 2009 21:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4166</guid>
		<description>Your post is an inspiration for me to discover more about this topic. I must concede your lucidity expanded my sentiments and I will forthwith grab your rss feed to remain up to date on any succeeding articles you might write. You are due, thanks for a job well done!</description>
		<content:encoded><![CDATA[<p>Your post is an inspiration for me to discover more about this topic. I must concede your lucidity expanded my sentiments and I will forthwith grab your rss feed to remain up to date on any succeeding articles you might write. You are due, thanks for a job well done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IISword</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4003</link>
		<dc:creator>IISword</dc:creator>
		<pubDate>Mon, 07 Dec 2009 14:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4003</guid>
		<description>nvm I didn&#039;t spell initialize right</description>
		<content:encoded><![CDATA[<p>nvm I didn&#8217;t spell initialize right</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IISword</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-4002</link>
		<dc:creator>IISword</dc:creator>
		<pubDate>Mon, 07 Dec 2009 14:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-4002</guid>
		<description>Yo I couldn&#039;t get the program to initialize the three images in the beginning without calling the method in one of my other cell. Any ideas on what happened? (and yes I did use a +)</description>
		<content:encoded><![CDATA[<p>Yo I couldn&#8217;t get the program to initialize the three images in the beginning without calling the method in one of my other cell. Any ideas on what happened? (and yes I did use a +)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-3906</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Tue, 01 Dec 2009 12:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-3906</guid>
		<description>@Robert

I had the same problem, Txs for the solution. I got the next error in RootViewController.m

Error: todoAppDelegate undeclared (first use in this function)
error: appDelegate undeclared(first use in this function)
error: expected expression before ) token

with Finally, the method it was solved:)</description>
		<content:encoded><![CDATA[<p>@Robert</p>
<p>I had the same problem, Txs for the solution. I got the next error in RootViewController.m</p>
<p>Error: todoAppDelegate undeclared (first use in this function)<br />
error: appDelegate undeclared(first use in this function)<br />
error: expected expression before ) token</p>
<p>with Finally, the method it was solved:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-3771</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sun, 22 Nov 2009 13:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-3771</guid>
		<description>I&#039;m also getting the uncaught exception issue. The problem appears (for me) when the sqlite3_prepare_v2 call is made in the initialiseDatabase call in TodoAppDelegate.m. I added an extra check for the result of the call and logged an assert with the message reported from SQLite. The message is &quot;library routine called out of sequence&quot;.

If I run your sample code, it works no problems. So my guess is it&#039;s something to do with the SDK version of either the iPhone or SQLite. I checked the reference for SQLite, and we&#039;re both pointing to libsqlite3.0.dylib.

When I highlight the library reference and click the info button in the toolbar, I see that your library path is the same as mine (usr/lib/sqlite3.0.dylib), but the full path is different. Your path is rooted in my downloads directory under the downloaded project directory name, then iphoneos2.0/usr/lib/sqlite3.0.dylib, and mine is rooted in developer/platforms/iphoneos.platform/developersdks/iphoneos3.1.2.sdk/usr/lib/libsqlite3.0.dylib.

I have the downloaded code set to compile against simulator 3.1.2; the same as my follow-along project, however the reference appears to be against a different version of the library. I would expect if we&#039;re compiling against the same version of the SQLite library, that the API wouldn&#039;t have changed, but that&#039;s the only thing I can thing of - that there&#039;s a missing call before the prepare in the version of the library I&#039;m working against?

I&#039;m new to the Mac, and iPhone programming. I hope this can be useful to yourself or one of your readers. I&#039;ll keep digging in the meantime, and post if I find an answer first.

Thanks for the great tutorials. They&#039;re easy to follow and quite informative.</description>
		<content:encoded><![CDATA[<p>I&#8217;m also getting the uncaught exception issue. The problem appears (for me) when the sqlite3_prepare_v2 call is made in the initialiseDatabase call in TodoAppDelegate.m. I added an extra check for the result of the call and logged an assert with the message reported from SQLite. The message is &#8220;library routine called out of sequence&#8221;.</p>
<p>If I run your sample code, it works no problems. So my guess is it&#8217;s something to do with the SDK version of either the iPhone or SQLite. I checked the reference for SQLite, and we&#8217;re both pointing to libsqlite3.0.dylib.</p>
<p>When I highlight the library reference and click the info button in the toolbar, I see that your library path is the same as mine (usr/lib/sqlite3.0.dylib), but the full path is different. Your path is rooted in my downloads directory under the downloaded project directory name, then iphoneos2.0/usr/lib/sqlite3.0.dylib, and mine is rooted in developer/platforms/iphoneos.platform/developersdks/iphoneos3.1.2.sdk/usr/lib/libsqlite3.0.dylib.</p>
<p>I have the downloaded code set to compile against simulator 3.1.2; the same as my follow-along project, however the reference appears to be against a different version of the library. I would expect if we&#8217;re compiling against the same version of the SQLite library, that the API wouldn&#8217;t have changed, but that&#8217;s the only thing I can thing of &#8211; that there&#8217;s a missing call before the prepare in the version of the library I&#8217;m working against?</p>
<p>I&#8217;m new to the Mac, and iPhone programming. I hope this can be useful to yourself or one of your readers. I&#8217;ll keep digging in the meantime, and post if I find an answer first.</p>
<p>Thanks for the great tutorials. They&#8217;re easy to follow and quite informative.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-3148</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Fri, 02 Oct 2009 07:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-3148</guid>
		<description>I had to add #import &quot;todoAppDelegate.h&quot; to the RootViewController.m to get it to compile and that just doesn&#039;t seem right to me.

Am I missing something?</description>
		<content:encoded><![CDATA[<p>I had to add #import &#8220;todoAppDelegate.h&#8221; to the RootViewController.m to get it to compile and that just doesn&#8217;t seem right to me.</p>
<p>Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-3091</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 26 Sep 2009 19:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-3091</guid>
		<description>Could you update it to SDK 3 ? I got problems at the &quot;magic&quot; at the to last step (cellForRowAtIndexpath &amp; numberOfRowsInSection) since of the new naming of appdelegates, tried to go through the apple provided book exmaple, but that didn&#039;t work.
Great tutorial btw :)</description>
		<content:encoded><![CDATA[<p>Could you update it to SDK 3 ? I got problems at the &#8220;magic&#8221; at the to last step (cellForRowAtIndexpath &amp; numberOfRowsInSection) since of the new naming of appdelegates, tried to go through the apple provided book exmaple, but that didn&#8217;t work.<br />
Great tutorial btw <img src='http://icodeblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mora</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-3046</link>
		<dc:creator>mora</dc:creator>
		<pubDate>Mon, 21 Sep 2009 19:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-3046</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: Kl</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-3025</link>
		<dc:creator>Kl</dc:creator>
		<pubDate>Fri, 18 Sep 2009 01:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-3025</guid>
		<description>Hi Brandon,

I have a &quot;_TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION_&quot; error when it reaches the line &quot; [cell setTodo:td]; &quot;
not sure what is wrong.

Thanks,
KL</description>
		<content:encoded><![CDATA[<p>Hi Brandon,</p>
<p>I have a &#8220;_TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION_&#8221; error when it reaches the line &#8221; [cell setTodo:td]; &#8221;<br />
not sure what is wrong.</p>
<p>Thanks,<br />
KL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claijon</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-2657</link>
		<dc:creator>Claijon</dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-2657</guid>
		<description>Who am I? Where am I? 
totally lost...</description>
		<content:encoded><![CDATA[<p>Who am I? Where am I?<br />
totally lost&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: garyZ</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-2578</link>
		<dc:creator>garyZ</dc:creator>
		<pubDate>Tue, 28 Jul 2009 15:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-2578</guid>
		<description>Brandon,

I want to thank you again for these wonderful tutorials.  After much pain and time attempting to add a navigation controller to my existing project I decided to start with a new project and one of your earlier tutorials.  I will then add my existing code to it.  Once again thanks as I have read many of Apple&#039;s sample projects and it is your screen shots and how to use Xcode and Interface Builder that makes any of their code useful.

Gary</description>
		<content:encoded><![CDATA[<p>Brandon,</p>
<p>I want to thank you again for these wonderful tutorials.  After much pain and time attempting to add a navigation controller to my existing project I decided to start with a new project and one of your earlier tutorials.  I will then add my existing code to it.  Once again thanks as I have read many of Apple&#8217;s sample projects and it is your screen shots and how to use Xcode and Interface Builder that makes any of their code useful.</p>
<p>Gary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: garyZ</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-2552</link>
		<dc:creator>garyZ</dc:creator>
		<pubDate>Mon, 27 Jul 2009 01:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-2552</guid>
		<description>Thanks for the SQL parts of the tutorial.  I have used it to load tables and store information when I start using handleOpenURL.  I didn&#039;t create the project as a Navigation Controller and had to add the RootViewController class and the RootViewController.xib.  Using your example to set the IB outlets I believe I have them setup correctly.  However the screen displays only &quot;Root View Controller&quot; at the top and an empty window.  Is there anything I might be missing in the Interface Builder.</description>
		<content:encoded><![CDATA[<p>Thanks for the SQL parts of the tutorial.  I have used it to load tables and store information when I start using handleOpenURL.  I didn&#8217;t create the project as a Navigation Controller and had to add the RootViewController class and the RootViewController.xib.  Using your example to set the IB outlets I believe I have them setup correctly.  However the screen displays only &#8220;Root View Controller&#8221; at the top and an empty window.  Is there anything I might be missing in the Interface Builder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anurag</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-2482</link>
		<dc:creator>Anurag</dc:creator>
		<pubDate>Wed, 22 Jul 2009 19:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-2482</guid>
		<description>@rksaraf I had the same problem with only the priority images showing up. I named the function wrong. It was supposed to be &quot;layoutSubviews&quot; but I called it &quot;layoutSubViews&quot; with a caps V. I&#039;m so glad that things are case-sensitive in Obj-C :)

Thanks for the awesome tutorial Brandon.</description>
		<content:encoded><![CDATA[<p>@rksaraf I had the same problem with only the priority images showing up. I named the function wrong. It was supposed to be &#8220;layoutSubviews&#8221; but I called it &#8220;layoutSubViews&#8221; with a caps V. I&#8217;m so glad that things are case-sensitive in Obj-C <img src='http://icodeblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for the awesome tutorial Brandon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calgman</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-2147</link>
		<dc:creator>Calgman</dc:creator>
		<pubDate>Fri, 26 Jun 2009 21:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-2147</guid>
		<description>Hi - This is a great tutorial for us beginners.  Thank you very much for taking time to develop this series.

I like to work thru problems.  Having said that, I approached this tutorial w/ a twist of using my own variables rather than what the tutorial used - that way, I have to work to fix the compile/run-time errors.  

I called the database sql_todo.sqlite, but used the same table name  as in the tutorial (todo) when populating it; but in the code I used sql_todo for the &quot;select&quot; statement.     Because of this, no data was shown in the simulator.  After I fixed the code, the simulator shows data - but the format is not what the tutorial shows. 

1.  The priority label is on the right side (over-writes the text of the to-do list)
2.  The priority images are not shown  at all.

I have checked the code and the #defines in the layoutSubviews() method.  I am still scratching my head.

Any pinters?  Thx in advance!
Calgman</description>
		<content:encoded><![CDATA[<p>Hi &#8211; This is a great tutorial for us beginners.  Thank you very much for taking time to develop this series.</p>
<p>I like to work thru problems.  Having said that, I approached this tutorial w/ a twist of using my own variables rather than what the tutorial used &#8211; that way, I have to work to fix the compile/run-time errors.  </p>
<p>I called the database sql_todo.sqlite, but used the same table name  as in the tutorial (todo) when populating it; but in the code I used sql_todo for the &#8220;select&#8221; statement.     Because of this, no data was shown in the simulator.  After I fixed the code, the simulator shows data &#8211; but the format is not what the tutorial shows. </p>
<p>1.  The priority label is on the right side (over-writes the text of the to-do list)<br />
2.  The priority images are not shown  at all.</p>
<p>I have checked the code and the #defines in the layoutSubviews() method.  I am still scratching my head.</p>
<p>Any pinters?  Thx in advance!<br />
Calgman</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-2106</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 22 Jun 2009 23:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-2106</guid>
		<description>if you are getting the error:
“_TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION__” (or your app just quits and there is a popup asking you to report it)
replace
“self.text = [NSString stringWithUTF8String:(char *)sqlite3_column_int(init_statement, 0)];” in Todo.m with
“char *pointer = (void *)sqlite3_column_int(init_statement, 0);
if (pointer == NULL)
self.text = nil;
else
self.text = [NSString stringWithUTF8String: pointer];”</description>
		<content:encoded><![CDATA[<p>if you are getting the error:<br />
“_TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION__” (or your app just quits and there is a popup asking you to report it)<br />
replace<br />
“self.text = [NSString stringWithUTF8String:(char *)sqlite3_column_int(init_statement, 0)];” in Todo.m with<br />
“char *pointer = (void *)sqlite3_column_int(init_statement, 0);<br />
if (pointer == NULL)<br />
self.text = nil;<br />
else<br />
self.text = [NSString stringWithUTF8String: pointer];”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ColeBucket06</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-1758</link>
		<dc:creator>ColeBucket06</dc:creator>
		<pubDate>Thu, 30 Apr 2009 00:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-1758</guid>
		<description>My source compiles with no errors, warnings, etc; however, when it compiles I am left with a blank UITableView as was &#039;rksaraf&#039;. Any incite on this issue? I double checked my code and it seems to all be correct. The only thing I did was change a few things as I am trying to create a Task Manager app that will eventually call a database via server, populate the UITableView, then allow for responses back to the host server; however, if I can&#039;t get this working I guess I&#039;m S.O.L. Could someone please assist me on this issue?</description>
		<content:encoded><![CDATA[<p>My source compiles with no errors, warnings, etc; however, when it compiles I am left with a blank UITableView as was &#8216;rksaraf&#8217;. Any incite on this issue? I double checked my code and it seems to all be correct. The only thing I did was change a few things as I am trying to create a Task Manager app that will eventually call a database via server, populate the UITableView, then allow for responses back to the host server; however, if I can&#8217;t get this working I guess I&#8217;m S.O.L. Could someone please assist me on this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilbert</title>
		<link>http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/comment-page-2/#comment-1750</link>
		<dc:creator>Wilbert</dc:creator>
		<pubDate>Tue, 28 Apr 2009 07:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=293#comment-1750</guid>
		<description>Hi,
Your tutorials are very helpful.  I&#039;m new into iphone programming and having found your site was very useful in my development.  

I followed your todo example but modified it a bit, instead of using an sql to retrieve the data, i used an array just like in the fruits example.  however, im am getting an error &quot;_TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___&quot;.  Also, there&#039;s a warning on the property for the three todoCell data (todoTextLabel..), &quot;requires method setTodoTextLabel to be defined - use @synthesize, @dynamic or provide a method&quot; though I synthesize it as describe in your tutorial.

Could you please provide me some code on how to do this using array instead of accessing the database?

thanks,
Wilbert</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Your tutorials are very helpful.  I&#8217;m new into iphone programming and having found your site was very useful in my development.  </p>
<p>I followed your todo example but modified it a bit, instead of using an sql to retrieve the data, i used an array just like in the fruits example.  however, im am getting an error &#8220;_TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___&#8221;.  Also, there&#8217;s a warning on the property for the three todoCell data (todoTextLabel..), &#8220;requires method setTodoTextLabel to be defined &#8211; use @synthesize, @dynamic or provide a method&#8221; though I synthesize it as describe in your tutorial.</p>
<p>Could you please provide me some code on how to do this using array instead of accessing the database?</p>
<p>thanks,<br />
Wilbert</p>
]]></content:encoded>
	</item>
</channel>
</rss>
