<?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, 02 May 2012 15:08:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Taking notes the simple way</title>
		<link>http://gnapse.com/blog/2010/10/20/taking-notes-the-simple-way/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=taking-notes-the-simple-way</link>
		<comments>http://gnapse.com/blog/2010/10/20/taking-notes-the-simple-way/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 15:57:09 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[note-taking]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=248</guid>
		<description><![CDATA[Recently I&#8217;ve been playing around with a few note-taking applications, specially with support for mobile devices such as my iPhone and a simple way to keep notes in sync with my laptop or desktop computers. I was most recently getting along with PlainText, a note-taking iPhone app that stores your notes in a folder in [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been playing around with a few note-taking applications, specially with support for mobile devices such as <a href="http://gnapse.com/blog/2010/02/03/my-new-ipad-nano-aka-iphone/">my iPhone</a> and a simple way to keep notes in sync with my laptop or desktop computers.</p>
<p>I was most recently getting along with <a title="PlainText for iPhone" href="http://itunes.apple.com/us/app/plaintext-dropbox-text-editing/id391254385?mt=8" target="_blank">PlainText</a>, a note-taking iPhone app that stores your notes in a folder in your Dropbox account. It&#8217;s a very simple yet powerful concept, specially for those of us who already use Dropbox. Instead of having yet another syncing environment for notes, they already take advantage of the Dropbox user base out there.</p>
<p>The interface is simple and visually appealing, yet out of the ordinary. The notes are always in sync between the iPhone and the computers thanks to Dropbox, and I can get to organize my notes into folders. No more nasty notes from the default iPhone notes app getting into my mail (whoever thought that notes were related to mail is insane).<span id="more-248"></span></p>
<h2>But then the simple got even simpler&#8230;</h2>
<p><a href="http://gnapse.com/blog/wp-content/uploads/2010/10/simplenote.png"><img class="alignright size-medium wp-image-260" title="SimpleNote" src="http://gnapse.com/blog/wp-content/uploads/2010/10/simplenote-200x300.png" alt="" width="200" height="300" /></a>Today I stumbled on a simpler and better alternative: <a class="print-href" href="http://simplenoteapp.com/" target="_blank">SimpleNote</a>. It&#8217;s an online web service with <a href="http://simplenoteapp.com/downloads/itunes.html" target="_blank">an iPhone app</a>, an <abbr title="Application Programming Interface"><a href="http://simplenoteapp.com/api/">API</a></abbr>, and a set of <a href="http://simplenoteapp.com/downloads/" target="_blank">third-party supporting apps and tools</a> that complete the picture.</p>
<h3>Great features</h3>
<p>The killer <a title="SimpleNotes features" href="http://simplenoteapp.com/features/" target="_blank">features</a> over PlainText are tagging, versioning and sharing. Yes, you read it right.</p>
<p>With SimpleNote you organize your notes with <strong>tags</strong>, instead of placing them on folders. You can associate any number of tags to a single note, and you can also list all notes regardless of tagging. It&#8217;s of course a bit unfair to make this comparison against PlainText, since its Dropbox storage paradigm would not allow for anything else than folders.</p>
<p>You can also <strong>share</strong> notes with other people. I did not found a way to do this on the web app, although there should be. In the iPhone app you can activate sharing, and it&#8217;ll give you a URL, plus the possibility to send an email with an invitation to the share note. I haven&#8217;t tested this though because I still have no one on SimpleNote to share with.</p>
<p>Also worth mentioning are its <strong>versioning</strong> capabilities. You can check past versions of your notes, up to a limit of 10 versions in the past. There&#8217;s a premium non-free plan for a mere $12 a year (that&#8217;s $1 per month) which extends this limit to 30, plus extra features such as no ads, better support, creating notes by email <a class="print-href" title="SimpleNote premium plan" href="http://simplenoteapp.com/premium/" target="_blank">and more</a>.</p>
<h3>On the desktop side of the equation</h3>
<p>On the desktop side there&#8217;s no &#8220;official&#8221; app for SimpleNote, but on the <a class="print-href" title="SimpleNote downloads" href="http://simplenoteapp.com/downloads/" target="_blank">downloads page</a> I found a couple of third-party client applications for Windows and Mac that I am really liking. On the Mac side we have <a class="print-href" href="http://selfcoded.com/justnotes/" target="_blank">JustNotes</a>, which syncs with the online service and supports tagging and searching. On the Windows side I was not expecting much, but it turns out that <a class="print-href" href="http://www.resoph.com/" target="_blank">ResophNotes</a> is a pretty good client with email, printing and <a href="http://daringfireball.net/projects/markdown/" target="_blank">Markdown</a> support. <span style="text-decoration: line-through;">The downside is that it does not support tagging</span>. It did not support tagging until recently, so be sure to have the latest version.</p>
<p>There are some other options for both platforms, specially for the Mac, and there are options for Android as well. There&#8217;s even an Emacs package and extensions for Firefox and Chrome!</p>
<p><strong>What other alternative services do you use for note-taking on the iPhone with desktop-sync support?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2010/10/20/taking-notes-the-simple-way/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Import your iPhone address book into the iPhone simulator</title>
		<link>http://gnapse.com/blog/2010/09/13/import-your-iphone-address-book-into-the-iphone-simulator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=import-your-iphone-address-book-into-the-iphone-simulator</link>
		<comments>http://gnapse.com/blog/2010/09/13/import-your-iphone-address-book-into-the-iphone-simulator/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 18:11:00 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[address book]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone simulator]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=214</guid>
		<description><![CDATA[When you are developing an iPhone application that works with the system-wide address book, it&#8217;s sometimes useful to have already some entries to play with when testing the app. Suppose then that you are testing in the simulator, which comes with no contacts at all. You cannot sync your simulator with iTunes, and the simulator [...]]]></description>
			<content:encoded><![CDATA[<p>When you are developing an iPhone application that works with the system-wide address book, it&#8217;s sometimes useful to have already some entries to play with when testing the app. Suppose then that you are testing in the simulator, which comes with no contacts at all. You cannot sync your simulator with iTunes, and the simulator is not integrated into your Mac Address Book, so you have to start creating some contacts manually.</p>
<p>Well, not exactly. If you have a real device (and you should anyway, if you are developing for the platform) and this device has lots of contacts in it, then you can copy the internal address book files into the simulator&#8217;s file system in your Mac. I actually got the tip from <a title="Using your own address book in the iPhone Simulator" href="http://0xced.blogspot.com/2009/01/using-your-own-address-book-in-iphone.html" target="_blank">this blog post</a> after searching on Google a little bit, but it did not worked for me exactly that way. I&#8217;ll let you know why.<span id="more-214"></span></p>
<p>First you have to extract the device&#8217;s address book sqlite files. There are two files actually, and according to their names, one is for the actual contacts, and the other one stores the contact images. Both files are located in <code>/var/mobile/Library/AddressBook/</code> inyour iPhone, so if you have a jailbroken device, then it is as simple as copying through ssh&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">scp</span> mobile<span style="color: #000000; font-weight: bold;">@</span>iphone:Library<span style="color: #000000; font-weight: bold;">/</span>AddressBook<span style="color: #000000; font-weight: bold;">/*</span>  ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application\ Support<span style="color: #000000; font-weight: bold;">/</span>iPhone\ Simulator<span style="color: #000000; font-weight: bold;">/</span>User<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>AddressBook</pre></div></div>

<p>If your device is not jailbroken then it is a bit more complicated. The solution involves extracting the sqlite files from the backups of your device created by iTunes in your Mac whenever you sync. The blog post linked above has a nice script for doing this, although I have not tested it.</p>
<p>But this did not work for me right away. I copied the files into the specified directory and started the simulation just to see the same empty list. So I wandered a bit through the vicinities of that location and I realized that along with the <code>User</code> directory inside <code>~/Library/Application Support/iPhone Simulator</code>, there are a few more directories whose names correspond to the versions of the <abbr title="Software Development Kit">SDK</abbr> installed in the simulator. Since I am running the simulator on iOS 4.0.2, then I copied the files into this directory structure instead, like below</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">scp</span> mobile<span style="color: #000000; font-weight: bold;">@</span>iphone:Library<span style="color: #000000; font-weight: bold;">/</span>AddressBook<span style="color: #000000; font-weight: bold;">/*</span>  ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application\ Support<span style="color: #000000; font-weight: bold;">/</span>iPhone\ Simulator<span style="color: #000000; font-weight: bold;">/</span>4.0.2<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>AddressBook</pre></div></div>

<p>So if the <code>User</code> directory don&#8217;t work for you either, then try looking for the one corresponding to the SDK version that you are running in the simulator.</p>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2010/09/13/import-your-iphone-address-book-into-the-iphone-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnapse.com goes mobile!</title>
		<link>http://gnapse.com/blog/2010/08/09/gnapse-com-goes-mobile/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gnapse-com-goes-mobile</link>
		<comments>http://gnapse.com/blog/2010/08/09/gnapse-com-goes-mobile/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 19:15:19 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web programming]]></category>
		<category><![CDATA[gnapse.com]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=185</guid>
		<description><![CDATA[It&#8217;s a tiny change, but I wanted to say it out loud. I recently updated this website to be mobile-friendly when visited from a handheld device such as an iPhone and other smart-phones. Go and see it for yourself and you&#8217;ll know what it&#8217;s like. Actually it was very simple and required almost no work. There&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a tiny change, but I wanted to say it out loud. I recently updated this website to be mobile-friendly when visited from a handheld device such as an iPhone and other smart-phones. Go and see it for yourself and you&#8217;ll know what it&#8217;s like.</p>
<p><a href="http://gnapse.com/blog/wp-content/uploads/2010/08/gnapse.com-mobile.png"><img class="aligncenter size-full wp-image-192" title="gnapse.com in mobile safari" src="http://gnapse.com/blog/wp-content/uploads/2010/08/gnapse.com-mobile.png" alt="" width="320" height="460" /></a></p>
<p>Actually it was very simple and required almost no work. There&#8217;s <a title="Wordpress Mobile Edition by Crowd Favorite" href="http://crowdfavorite.com/wordpress/plugins/wordpress-mobile-edition/" target="_blank">a wordpress plugin</a> for that already, which along with <a title="Carrington Mobile" href="http://crowdfavorite.com/wordpress/themes/carrington-mobile/" target="_blank">a custom mobile-friendly theme</a> gets the job done. Both the plugin and the theme are developed by <a href="http://crowdfavorite.com/" target="_blank">Crowd Favorite</a>, a web development company specializing in WordPress customization and enhancement. They also provide two great standard themes, including the one used in the blog&#8217;s standard interface.</p>
<p><strong>Do you know any other plugins or tools to make a WordPress blog friendly to handheld mobile devices?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2010/08/09/gnapse-com-goes-mobile/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<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&#038;utm_medium=rss&#038;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>1</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&#038;utm_medium=rss&#038;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>

