<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>awkward silence &#187; iPhone</title>
	<atom:link href="http://tom.wilcoxen.org/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.wilcoxen.org</link>
	<description></description>
	<lastBuildDate>Fri, 19 Mar 2010 21:39:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>iPhone Multitasking &#8211; It&#8217;s All About Me</title>
		<link>http://tom.wilcoxen.org/2010/03/19/iphone-multitasking-its-all-about-me/</link>
		<comments>http://tom.wilcoxen.org/2010/03/19/iphone-multitasking-its-all-about-me/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 14:41:39 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[user experience]]></category>

		<guid isPermaLink="false">http://tom.wilcoxen.org/2010/03/19/iphone-multitasking-its-all-about-me/</guid>
		<description><![CDATA[Everywhere you look these days you read about iPhone users screaming for multitasking. Here&#8217;s one counter opinion. Yesterday I was trying to shoot off a quick text message. I was happily typing away on my iPhone 3G when the keyboard became unresponsive. You know what I&#8217;m talking about &#8212; type along and nothing appears, no [...]]]></description>
			<content:encoded><![CDATA[<p>Everywhere you look these days you read about iPhone users screaming for multitasking. Here&#8217;s one counter opinion.</p>
<p>Yesterday I was trying to shoot off a quick text message. I was happily typing away on my iPhone 3G when the keyboard became unresponsive. You know what I&#8217;m talking about &#8212; type along and nothing appears, no comforting click, click, click of the keys. Then a familiar &#8216;vling!&#8217; of the You&#8217;ve Got Mail variety, then several words of my typing spill forth.</p>
<p>That&#8217;s multitasking on the iPhone and I don&#8217;t like it.</p>
<p>When I&#8217;m actively doing something, anything, on my iPhone I want it to be all about me. When I&#8217;m done, or if I&#8217;m dull and slow and the wee CPU can get some work done without my even knowing, fine.</p>
<p>Maybe I&#8217;m the only one who doesn&#8217;t use or care about Pandora. I also don&#8217;t believe in human multitasking, so having just a single app open that I&#8217;m focused on and actively engaged with suits me just fine.</p>
<p>I just hope with whatever iPhone 4.0 brings us that my iPhone doesn&#8217;t forget about me and spend all it&#8217;s time on background tasks leaving my keyboard slow and chunky. It would really ruin the user experience, which should be all about me.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.wilcoxen.org/2010/03/19/iphone-multitasking-its-all-about-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build and Compile your SQLite Database with Xcode</title>
		<link>http://tom.wilcoxen.org/2008/11/28/build-and-compile-your-sqlite-database-with-xcode/</link>
		<comments>http://tom.wilcoxen.org/2008/11/28/build-and-compile-your-sqlite-database-with-xcode/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 21:01:30 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Note to self]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://tom.wilcoxen.org/?p=82</guid>
		<description><![CDATA[I&#8217;ve been working on setting up a database for an iPhone app. I haven&#8217;t worked with sqlite before so it&#8217;s yet another new thing to learn. I&#8217;ve been going through a few tutorials on the web and was partway through this one when I took the advice of his sidebar at the end of Step [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on setting up a database for an iPhone app. I haven&#8217;t worked with sqlite before so it&#8217;s yet another new thing to learn. I&#8217;ve been going through a few tutorials on the web and was partway through <a href="http://leefalin.com/blog/2008/10/02/iphone-sqlite-database-basics/">this one</a> when I took the advice of his sidebar at the end of Step 3 to keep my database definition in sql and have it built when the app compiles. He linked to <a href="http://public.toxicsoftware.com/CompileSQL.png">this screenshot</a> by way of a how-to, which unfortunately didn&#8217;t work for me.</p>
<p>First off, to find the build rules for your project, right click on Targets in xcode and select Get Info:<br />
<img src="http://img.skitch.com/20081128-s74ejes16mgctfch4dfcmbs29.jpg" alt="main.m - GameDay"/></p>
<p>I also added a check to see if your db already exists to avoid build errors if it doesn&#8217;t. I decided to put it into an external file and execute that from the build rule. Here&#8217;s what my build rule looks like:</p>
<div class="thumbnail"><a href="http://skitch.com/tomwilcoxen/h9u2/target-gameday-info"><img src="http://img.skitch.com/20081128-n6r6d3169j4geg6c32krip5kjj.preview.jpg" alt="Target 201CGameDay201D Info" /></a><br /><span style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080">Uploaded with <a href="http://plasq.com/">plasq</a>&#8216;s <a href="http://skitch.com">Skitch</a>!</span></div>
<p>Here&#8217;s the bash shell script:<br />
<code><br />
#!/bin/bash<br />
cd ${TARGET_BUILD_DIR}<br />
if [ -f ${INPUT_FILE_BASE}.db ];<br />
  then<br />
    rm ${INPUT_FILE_BASE}.db;<br />
fi<br />
cat ${INPUT_FILE_PATH} | sqlite3 ${INPUT_FILE_BASE}.db<br />
</code></p>
<p>Put it in a file (sqlbuildrule.sh, for example) and place it in your project directory and set it to executable:<br />
<code>chmod +x sqlbuildrule.sh</code></p>
<p>At the end of the rule, click the + below &#8220;with output files&#8221; and enter this:<br />
<code>$(TARGET_BUILD_DIR)/$(INPUT_FILE_BASE).db</code></p>
<p>The script will look for a .sql file in your project directory and build it with the output going to your target build directory. </p>
<p>If you need to edit the shell script or change the &#8220;with output files&#8221; setting of the build rule, note that the way you use the environment variables is different. The shell uses them as regular bash variables: ${MY_VAR}, where Xcode uses parens: $(MY_VAR). </p>
]]></content:encoded>
			<wfw:commentRss>http://tom.wilcoxen.org/2008/11/28/build-and-compile-your-sqlite-database-with-xcode/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>iPhoneUnitTesting &#8211; How to do iPhone unit testing</title>
		<link>http://tom.wilcoxen.org/2008/10/21/iphoneunittesting-how-to-do-iphone-unit-testing/</link>
		<comments>http://tom.wilcoxen.org/2008/10/21/iphoneunittesting-how-to-do-iphone-unit-testing/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:58:01 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Note to self]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://tom.wilcoxen.org/?p=77</guid>
		<description><![CDATA[I&#8217;ve started looking into development on iPhone and was a little surprised that unit testing was challenging. I found this project by Google that seems promising: iPhoneUnitTesting &#8211; google-toolbox-for-mac &#8211; Google Code &#8211; How to do iPhone unit testing. I&#8217;m going through Bill Dudney&#8217;s book from the Prags, which seems very good. You get up [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started looking into development on iPhone and was a little surprised that unit testing was challenging. I found this project by Google that seems promising:<br />
<a href="http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting">iPhoneUnitTesting &#8211; google-toolbox-for-mac &#8211; Google Code &#8211; How to do iPhone unit testing</a>.</p>
<p>I&#8217;m going through <a href="http://pragprog.com/titles/amiphd/iphone-sdk-development">Bill Dudney&#8217;s book from the Prags</a>, which seems very good. You get up and running quickly, though it isn&#8217;t (and doesn&#8217;t claim to be) an in-depth resource on Objective C. I also got <a href="http://pragprog.com/titles/dscpq/cocoa-programming">Daniel Steinberg&#8217;s Cocoa Programming book</a>, which is a great quick start and good companion to the iPhone book.</p>
<p>Now I just need an iPhone&#8230; <img src='http://tom.wilcoxen.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tom.wilcoxen.org/2008/10/21/iphoneunittesting-how-to-do-iphone-unit-testing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.218 seconds -->
