<?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>Interactive Logic &#187; iphone</title>
	<atom:link href="http://interactivelogic.net/wp/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://interactivelogic.net/wp</link>
	<description>Evan K. Stone on iOS Development and UX Design and Engineering</description>
	<lastBuildDate>Mon, 09 Apr 2012 16:25:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>iOS Simulator QuickTip: Removing all installed applications.</title>
		<link>http://interactivelogic.net/wp/2011/03/ios-simulator-quicktip-removing-all-installed-applications/</link>
		<comments>http://interactivelogic.net/wp/2011/03/ios-simulator-quicktip-removing-all-installed-applications/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 20:26:21 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[iOS SDK]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile development]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ios sdk]]></category>
		<category><![CDATA[quicktips]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/?p=200</guid>
		<description><![CDATA[It was time to clean house a bit, so I wanted to remove all the currently installed applications in the iPhone Simulator. Turns out there&#8217;s a very simple way to do it&#8230; 1. With the iPhone Simulator running, click on the iOS Simulator application menu. 2. Click &#8220;Reset Contents and Settings&#8230;&#8221;. - A confirmation dialog [...]]]></description>
			<content:encoded><![CDATA[<p>It was time to clean house a bit, so I wanted to remove all the currently installed applications in the iPhone Simulator. Turns out there&#8217;s a very simple way to do it&#8230;</p>
<p style="padding-left: 30px;">1. With the iPhone Simulator running, click on the <strong>iOS Simulator </strong>application menu.</p>
<p style="padding-left: 30px;">2. Click &#8220;Reset Contents and Settings&#8230;&#8221;.</p>
<p style="padding-left: 60px;">- A confirmation dialog will appear warning that &#8220;all installed applications, content, and settings will be moved to the trash.&#8221;</p>
<p style="padding-left: 30px;">3. Click &#8220;Reset.&#8221;</p>
<p>All the applications will be removed and you can proceed with a clean slate.</p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2011/03/ios-simulator-quicktip-removing-all-installed-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free iPhone Design Templates for Keynote and PowerPoint</title>
		<link>http://interactivelogic.net/wp/2010/05/free-iphone-design-templates-for-keynote-and-powerpoint/</link>
		<comments>http://interactivelogic.net/wp/2010/05/free-iphone-design-templates-for-keynote-and-powerpoint/#comments</comments>
		<pubDate>Wed, 26 May 2010 16:35:54 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Interaction Design]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[User Interface Design]]></category>
		<category><![CDATA[interaction design]]></category>
		<category><![CDATA[ixd]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[ux]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/?p=99</guid>
		<description><![CDATA[Free iPhone Keynote and PowerPoint templates help get you from thought to finish: Mockapp.com has created both Keynote and PowerPoint templates of iPhone UI elements, and has made them available as free downloads. Say you had a dream in the middle of the night about the most awesome iPhone app that, to your surprise, no [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tuaw.com/2009/09/16/free-iphone-keynote-and-powerpoint-templates-help-get-you-from-t/">Free iPhone Keynote and PowerPoint templates help get you from thought to finish</a>:<br />
<blockquote><a href="http://mockapp.com/" target="_blank">Mockapp.com</a> has created both Keynote and PowerPoint templates of iPhone UI elements, and has <a href="http://mockapp.com/download/" target="_blank">made them available as free downloads</a>. Say you had a dream in the middle of the night about the most awesome iPhone app that, to your surprise, no one has thought of yet. Instead of waking up in a deep sweat and scribbling said ideas on paper, you could dream them up on Keynote.</p>
<p>After mapping out your concept on Keynote, you could then pitch it to others in a Keynote presentation. The Keynote and PowerPoint templates include alerts, the iPhone keyboard, arrow icons, buttons, as well as a host of other UI elements.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2010/05/free-iphone-design-templates-for-keynote-and-powerpoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Methods of iPad Detection in Web Applications</title>
		<link>http://interactivelogic.net/wp/2010/05/methods-of-ipad-detection-in-web-applications/</link>
		<comments>http://interactivelogic.net/wp/2010/05/methods-of-ipad-detection-in-web-applications/#comments</comments>
		<pubDate>Thu, 20 May 2010 16:19:04 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[browser sniffing]]></category>
		<category><![CDATA[ipodtouch]]></category>
		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/?p=89</guid>
		<description><![CDATA[With all this Dashcode and iPhone web development exploration that I've been doing lately, the question of course came up in my mind... what about the iPad?]]></description>
			<content:encoded><![CDATA[<p>With all this Dashcode and iPhone web development exploration that I&#8217;ve been doing lately, the question of course came up in my mind&#8230; what about the iPad? I&#8217;m already using some rudimentary sniffing to make sure iPhone users go to the appropriate spot, but obviously this case would have to be dealt with too, since maybe I would not want to send iPad users to the same spot as the iPhone users.</p>
<p>So I was very glad to find this article: <a href="http://www.nczonline.net/blog/2010/04/06/ipad-web-development-tips/">iPad web development tips</a> by Nicholas C. Zakas at his site, NCZOnline.</p>
<p>As it turns out, my method would have failed in that case since I have only been checking for &#8220;iPhone&#8221;  <em>(NOTE: strings are split on multiple lines to fit on this page&#8230; they actually don&#8217;t have line breaks.)</em>:</p>
<blockquote><p><strong>User-agent string</strong></p>
<p>The previously-linked post describes the iPad Safari user-agent to be in the following format:</p>
<pre>Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us)
AppleWebKit/531.21.10 (KHTML, like Gecko)
Version/4.0.4 Mobile/7B334b Safari/531.21.10</pre>
<p>This was the user-agent string during the beta testing phase. The format is slightly different for the final release: Although this appears to be the official user-agent string, I have received reports of a user-agent like this:</p>
<pre>Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us)
AppleWebKit/531.21.10 (KHTML, like Gecko)
Version/4.0.4 Mobile/7B314 Safari/531.21.10</pre>
<p>You’ll note the addition of “iPhone” in the operating system segment of the user-agent string. This brings the user-agent string for Safari on the iPad more into line with Safari on the iPhone and iPod Touch, which have the following user-agent strings, respectively:</p>
<pre>Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; en-us)
AppleWebKit/528.18 (KHTML, like Gecko)
Version/4.0 Mobile/7A341 Safari/528.16

Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)
AppleWebKit/528.18 (KHTML, like Gecko)
Version/4.0 Mobile/7A341 Safari/528.16</pre>
<p>This means a single user-agent string sniff for “iPhone” returns true in all three cases. The problem, of course, is that you might want to serve different experiences to the iPhone/iPod Touch than you would for the iPad. Make sure you double-check any user-agent sniffing designed to target these devices.
</p></blockquote>
<p>Then we move on to the interesting tidbit for the client-side. If detection is necessary, evidently we can use the <span style="font-family:courier new, monospace;">navigator.platform</span> property:</p>
<blockquote><p><strong>JavaScript iPad detection</strong></p>
<p>If you’re trying to detect the iPad using JavaScript, there’s a very simple way to do so: check <span style="font-family:courier new, monospace;">navigator.platform</span>. The value of <span style="font-family:courier new, monospace;">navigator.platform</span> is always “iPad” when Safari for iPad is the user-agent. This follows the tradition of “iPhone” for the iPhone and “iPod” for the iPod Touch. This is the most accurate way to detect the iPad from JavaScript, assuming you don’t want to do a full user-agent string sniff.</p>
<pre>function isIPad() {
    return navigator.platform == "iPad";
}</pre>
<p>Also, keep in mind that <span style="font-family:courier new, monospace;">navigator.platform</span> doesn’t change even when the user-agent string for a browser is changed.</p></blockquote>
<p>Good information for both sides of the computing fence, so I&#8217;m glad to have it!</p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2010/05/methods-of-ipad-detection-in-web-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When JavaScript Conventions Aren&#8217;t Conventions</title>
		<link>http://interactivelogic.net/wp/2010/05/when-javascript-conventions-arent-conventions/</link>
		<comments>http://interactivelogic.net/wp/2010/05/when-javascript-conventions-arent-conventions/#comments</comments>
		<pubDate>Thu, 20 May 2010 15:35:36 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[conventions]]></category>
		<category><![CDATA[dashcode]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipodtouch]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/?p=84</guid>
		<description><![CDATA[In experimenting with Dashcode last night using the introductory tutorial provided by Apple, I noticed that in their example, they build a URL dynamically: var dsource = dashcode.getDataSource("list"); var name = dsource.selection().valueForKey("name"); document.location = ("http://www.google.com/search?client=googlet&#38;q=" + name); But your first thought when looking at this may be (as was mine), &#8220;what if there are spaces [...]]]></description>
			<content:encoded><![CDATA[<p>In experimenting with <a title="Dashcode" href="http://developer.apple.com/leopard/overview/dashcode.html" target="_blank">Dashcode</a> last night using the <a title="Mobile Safari Web Application Tutorial" href="http://developer.apple.com/mac/library/documentation/AppleApplications/Conceptual/Dashcode_UserGuide/Contents/Resources/en.lproj/MakingaWebApp/MakingaWebApp.html#//apple_ref/doc/uid/TP40004692-CH18-SW1" target="_blank">introductory tutorial provided by Apple</a>, I noticed that in their example, they build a URL dynamically:</p>
<blockquote>
<pre>var dsource = dashcode.getDataSource("list");
var name = dsource.selection().valueForKey("name");
document.location =
    ("http://www.google.com/search?client=googlet&amp;q="
    + name);</pre>
</blockquote>
<p>But your first thought when looking at this may be (as was mine), &#8220;what if there are spaces or other characters in the &#8220;name&#8221; value that are not legal in an URL?</p>
<p>So then I set out to use one of the standard functions for escaping URIs: <strong>encodeURIComponent</strong>.</p>
<p>Unfortunately, when I entered the function I spelled it <strong>encode<em>Uri</em>Component</strong> using camel case, which is what I thought was appropriate in this situation. Evidently not. I even was referencing good ol&#8217; w3schools on the subject too.</p>
<p>But once again it kind of gets back to the whole &#8220;was it getElementBy<em>ID</em> or getElementBy<strong>Id</strong>?&#8221; dilemma. And, unfortunately, unlike Visual Studio, there wasn&#8217;t IntelliSense in this case.</p>
<p>So then I set out looking to see why it was bombing, thinking that it was maybe a problem in Mobile Safari, like it didn&#8217;t support the function. I switched to <span style="font-family: courier new, monospace;">escape</span> and that worked just fine.</p>
<p>Then I looked more closely at the w3schools page and noticed the difference.</p>
<p>DUH. </p>
<p>Felt real stupid too. </p>
<p>But when using the function with the correct spelling/capitalization it worked just fine. Whew!!!</p>
<p>I guess I should have just copy-n-pasted. </p>
<p>;)</p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2010/05/when-javascript-conventions-arent-conventions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Wireframe Templates for Sketching</title>
		<link>http://interactivelogic.net/wp/2009/09/iphone-wireframe-templates/</link>
		<comments>http://interactivelogic.net/wp/2009/09/iphone-wireframe-templates/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 21:10:32 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[Interaction Design]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[User Interface Design]]></category>
		<category><![CDATA[interaction design]]></category>
		<category><![CDATA[ipodtouch]]></category>
		<category><![CDATA[ixd]]></category>
		<category><![CDATA[paper prototyping]]></category>
		<category><![CDATA[ux]]></category>
		<category><![CDATA[wireframes]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/?p=10</guid>
		<description><![CDATA[In the spirit of Open Source, I have posted some iPhone Paper Prototyping and Design templates, and you can Download The .Zip File Here. There are two layouts, and both layouts are in PDF and Viso (VSD) formats. Feel free to download and tweak them as needed. Have fun with them! UPDATE: With all the [...]]]></description>
			<content:encoded><![CDATA[<p>In the spirit of Open Source, I have posted some iPhone Paper Prototyping and Design templates, and you can <strong><a title="iPhone Design Templates" href="http://www.interactivelogic.net/downloads/iphone-design-templates.zip">Download The .Zip File Here</a></strong>.</p>
<p>There are two layouts, and both layouts are in PDF and Viso (VSD) formats.</p>
<p style="text-align: center;"><a href="http://www.interactivelogic.net/downloads/iphone-design-templates.zip"><img class="aligncenter size-medium wp-image-13" title="iPhone Design Wireframes" src="http://interactivelogic.net/wp/wp-content/uploads/2009/09/iphonestencil-300x150.png" alt="iPhone Design Wireframes" width="300" height="150" /></a></p>
<p>Feel free to download and tweak them as needed.</p>
<p>Have fun with them!</p>
<p><strong>UPDATE</strong>: With all the recent activity following the <a title="50 Free UI and Web Design Wireframing Kits, Resources and Source Files" href="http://www.smashingmagazine.com/2010/02/05/50-free-ui-and-web-design-wireframing-kits-resources-and-source-files/" target="_blank">Smashing Magazine article on Wireframing</a>, I&#8217;ve added the PDF files on their own, so if you&#8217;re viewing this page on an iPhone or other device that doesn&#8217;t like .zip files, then you can at least view them.</p>
<ul>
<li><a title="iPhone Wireframe Template" href="http://www.interactivelogic.net/downloads/iphone-wireframe-template.pdf" target="_blank">iPhone Wireframe Template (.PDF)<br />
</a></li>
<li><a title="iPhone Wireframe Template (with Notes)" href="http://www.interactivelogic.net/downloads/iphone-wireframe-template-with-notes.pdf" target="_blank">iPhone Wireframe Template with Notes (.PDF)</a></li>
</ul>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2009/09/iphone-wireframe-templates/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
		</item>
	</channel>
</rss>

