<?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; Apple</title>
	<atom:link href="http://interactivelogic.net/wp/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://interactivelogic.net/wp</link>
	<description>Thoughts and observations about iPhone, iPad, and iOS Development</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:19:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Washington Post &#8211; Wozniak remembers Steve Jobs</title>
		<link>http://interactivelogic.net/wp/2011/10/washington-post-wozniak-remembers-steve-jobs/</link>
		<comments>http://interactivelogic.net/wp/2011/10/washington-post-wozniak-remembers-steve-jobs/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 16:09:19 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/2011/10/washington-post-wozniak-remembers-steve-jobs/</guid>
		<description><![CDATA[Rather touching interview (edited) with Steve Wozniak about the news regarding Steve Jobs: Wozniak remembers Steve Jobs &#8211; The Washington Post]]></description>
			<content:encoded><![CDATA[<p>Rather touching interview (edited) with Steve Wozniak about the news regarding Steve Jobs:</p>
<p style="padding-left: 30px;"><a href="http://www.washingtonpost.com/national/wozniak-remembers-steve-jobs/2011/10/06/gIQAAINvPL_video.html">Wozniak remembers Steve Jobs &#8211; The Washington Post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2011/10/washington-post-wozniak-remembers-steve-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macworld.com &#8211; Steve Jobs: Making a dent in the universe</title>
		<link>http://interactivelogic.net/wp/2011/10/macworld-com-steve-jobs-making-a-dent-in-the-universe/</link>
		<comments>http://interactivelogic.net/wp/2011/10/macworld-com-steve-jobs-making-a-dent-in-the-universe/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 15:56:02 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/2011/10/macworld-com-steve-jobs-making-a-dent-in-the-universe/</guid>
		<description><![CDATA[Nice article on Macworld.com Steve Jobs: Making a dent in the universe Thanks, Jason.]]></description>
			<content:encoded><![CDATA[<p>Nice article on Macworld.com</p>
<p style="padding-left: 30px;"><a href="http://www.macworld.com/article/162827/2011/10/steve_jobs_making_a_dent_in_the_universe.html">Steve Jobs: Making a dent in the universe</a></p>
<p>Thanks, Jason.</p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2011/10/macworld-com-steve-jobs-making-a-dent-in-the-universe/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>The Remote is Dead! Long Live the Remote!</title>
		<link>http://interactivelogic.net/wp/2010/02/the-remote-is-dead-long-live-the-remote/</link>
		<comments>http://interactivelogic.net/wp/2010/02/the-remote-is-dead-long-live-the-remote/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 20:26:46 +0000</pubDate>
		<dc:creator>Evan K. Stone</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Nerdstuff]]></category>
		<category><![CDATA[apple store]]></category>
		<category><![CDATA[eBay]]></category>

		<guid isPermaLink="false">http://interactivelogic.net/wp/?p=40</guid>
		<description><![CDATA[Imagine my dismay when I discovered that my Apple Remote had taken a ride through the clothes washer and dryer a couple of weeks ago&#8230; As you may imagine, this journey rendered the remote inoperative and useless (albeit totally dry). Additionally, searching on the Apple Store was a bit more depressing since the device is [...]]]></description>
			<content:encoded><![CDATA[<p>Imagine my dismay when I discovered that my Apple Remote had taken a ride through the clothes washer and dryer a couple of weeks ago&#8230; As you may imagine, this journey rendered the remote inoperative and useless (albeit totally dry).</p>
<div id="attachment_41" class="wp-caption alignleft" style="width: 125px"><a href="http://interactivelogic.net/wp/wp-content/uploads/2010/02/apple_remote.jpg"><img class="size-full wp-image-41       " title="apple_remote" src="http://interactivelogic.net/wp/wp-content/uploads/2010/02/apple_remote.jpg" alt="Apple Remote" width="115" height="273" /></a><p class="wp-caption-text">Apple Remote</p></div>
<p>Additionally, searching on the <a title="Apple Store" href="http://store.apple.com/" target="_blank">Apple Store</a> was a bit more depressing since the device is evidently no longer available&#8230; yikes.</p>
<h2>eBay to the Rescue</h2>
<p>Thankfully there&#8217;s eBay.</p>
<p>After nosing around a bit I was able to find several vendors who had very reasonable prices on basically brand-new remotes. I think mine ended up being $6.99 USD.</p>
<p>At any rate, it arrived today and I was very pleased to try it out while listening to iTunes and it works perfectly. At that rate I probably should have purchased a few extras just in case this happens again&#8230;</p>
<p>Let&#8217;s hope not.</p>
<h2>Strange Behavior</h2>
<p>My next task was to resolve a very strange and annoying problem if you have more than one Mac in the proximity while using the remote. This happened to me while on vacation &#8212; the remote was pointed at my MacBook Pro, but in addition to controlling it, my wife&#8217;s MacBook was also responding to the controller, starting and stopping iTunes while a movie was playing on my computer. Very interesting.</p>
<p>Thankfully <a title="Pairing your Apple Remote with your computer" href="http://support.apple.com/kb/HT1619" target="_blank">it is possible to pair up your remote to your computer</a>, and I&#8217;ve already paired the new remote with my laptop and will do the same with our other MacBook and its respective controller&#8230;</p>
<p>Whew!</p>
]]></content:encoded>
			<wfw:commentRss>http://interactivelogic.net/wp/2010/02/the-remote-is-dead-long-live-the-remote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

