<?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>gnapse.com &#187; iphone</title>
	<atom:link href="http://gnapse.com/blog/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://gnapse.com/blog</link>
	<description>whatever comes to my mind</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:50:37 +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>My new iPad nano (aka iPhone)</title>
		<link>http://gnapse.com/blog/2010/02/03/my-new-ipad-nano-aka-iphone/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=my-new-ipad-nano-aka-iphone</link>
		<comments>http://gnapse.com/blog/2010/02/03/my-new-ipad-nano-aka-iphone/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:54:10 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Whatever]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=116</guid>
		<description><![CDATA[Most people are going crazy these days talking about the most recent gadget announced by Apple. They&#8217;ve seen the video, they went to the announcement conference, they are wondering when will they get one in their hands. They simply can&#8217;t wait. Meanwhile I am enjoying a similar experience. Somebody noticed out there that there are [...]]]></description>
			<content:encoded><![CDATA[<p>Most people are going crazy these days talking about <a title="iPad" href="http://apple.com/ipad" target="_blank">the most recent gadget announced by Apple</a>. They&#8217;ve seen <a href="http://www.apple.com/ipad/includes/video-ipad.html#video" target="_blank">the video</a>, they went to the announcement conference, they are wondering when will they get one in their hands. They simply can&#8217;t wait.</p>
<p>Meanwhile I am enjoying a similar experience. <a href="http://www.buzzfeed.com/kellyh3/ipad-nano-q94" target="_blank">Somebody noticed out there</a> that there are many of us with an iPad already (kind of). The <a title="iPhone" href="http://apple.com/iphone" target="_blank">iPad nano</a> has been around for a couple of years now but with another name. And I recently got one and I am delighted with it. Why going crazy about the new one when you can have the nano version which fits in your pocket, has a camera and makes phone calls too!</p>
<div id="attachment_120" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-120" title="ipad-nano" src="http://gnapse.com/blog/wp-content/uploads/2010/02/ipad-nano-18412-1264908879-85.jpg" alt="iPad nano" width="500" height="600" /><p class="wp-caption-text">iPad nano</p></div>
<p>Now seriously, after using the iPhone for some days I understand why people are crazy to experiment with its big but younger brother. Touch screens are seriously redefining how we interact with computers and from a developer standpoint it&#8217;s amazing the whole new set of possibilities that arise. And it&#8217;s not only touch screens and multi-touch, but also the ability to make a program adapt to different orientations of the device, to be able to access hardware services like a compass, accelerometer, GPS, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2010/02/03/my-new-ipad-nano-aka-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great ORM for the iPhone SDK</title>
		<link>http://gnapse.com/blog/2009/10/20/great-orm-for-the-iphone-sdk/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=great-orm-for-the-iphone-sdk</link>
		<comments>http://gnapse.com/blog/2009/10/20/great-orm-for-the-iphone-sdk/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 21:23:57 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[persistence]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=83</guid>
		<description><![CDATA[I&#8217;ve started to dwell into iPhone&#8217;s data persistence world, and I have to say it&#8217;s a very diverse one, for such a small-device platform. We developers have four basic approaches to save our application&#8217;s data (property lists, archiving/nscoding, core data and sqlite), not to mention that preferences get stored and saved outside our app, and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started to dwell into iPhone&#8217;s data persistence world, and I have to say it&#8217;s a very diverse one, for such a small-device platform. We developers have four basic approaches to save our application&#8217;s data (property lists, archiving/nscoding, core data and sqlite), not to mention that preferences get stored and saved outside our app, and that we also have the low level approach of reading and writing directly to files on disk (but who needs that?).</p>
<p>However, I am spoiled by my Ruby on Rails background, and I started to think about ORM and ActiveRecord in no time. It turns out that, as I expected, I found a few blog posts and projects out there for this. Nothing surprising, since I&#8217;m not the only one coming to the iPhone from Rails, and I have just recently started programming for this platform. Several people have been struggling with it for some time now.</p>
<p>One of the most promising and wonderful projects I found is called <a href="http://iphonedevelopment.blogspot.com/2008/08/sqlite-persistent-objects.html" target="_blank">SQLite Persistent Objects</a>. It&#8217;s like ActiveRecord for the iPhone written in Objective-C (of course), but even better in some respects. You don&#8217;t write you data schemas first, but your classes instead. It&#8217;s the objects the ones that create the database and tables in the background as needed. It even features dynamic search methods too!</p>
<p>If you&#8217;re programming for the iPhone, I really recommend it (although I haven&#8217;t tested it thoroughly yet). The article above gives a link to a download, but the project seems to be <a title="SQLite Persistent Objects on Google Code" href="http://code.google.com/p/sqlitepersistentobjects/" target="_blank">hosted on google code</a>, so ti would be presumably better to download it from there.</p>
<p><strong>Update (2009-10-23):</strong> Coincidentally today the author of SQLite Persistent Objects <a title="SQLitePersistentObjects lives" href="http://iphonedevelopment.blogspot.com/2009/10/sqlitepersistentobjects-lives-it-lives.html" target="_blank">posted in his blog</a> that after deciding to discontinue development, <a href="http://blog.ddg.com/?p=21" target="_blank">another developer took over</a>, so the project (which I didn&#8217;t know was dying) is alive again! He also links to <a title="Using SQLitePersistentObjects" href="http://www.slideshare.net/360conferences/using-sqlite" target="_blank">a great presentation</a> that get you started very quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2009/10/20/great-orm-for-the-iphone-sdk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
