<?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>Tewha &#187; Mac OS X</title>
	<atom:link href="http://tewha.net/tag/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://tewha.net</link>
	<description>Links and writings on software development, mostly for iPhone and Mac OS X.</description>
	<lastBuildDate>Thu, 26 Aug 2010 00:00:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ars Technica on Snow Leopard</title>
		<link>http://tewha.net/2009/08/ars-technica-on-snow-leopard/</link>
		<comments>http://tewha.net/2009/08/ars-technica-on-snow-leopard/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:36:05 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=1062</guid>
		<description><![CDATA[John Siracusa: Ars Technica review of Snow Leopard. Includes a discussion of some of the file system&#8217;s new tricks and QuickTime X&#8217;s secrets, which you&#8217;ll probably never need to know. But don&#8217;t you want to know?]]></description>
			<content:encoded><![CDATA[<p>John Siracusa: <a href="http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars">Ars Technica review of Snow Leopard</a>. Includes a discussion of some of the file system&#8217;s new tricks and QuickTime X&#8217;s secrets, which you&#8217;ll probably never need to know. But don&#8217;t you <em>want</em> to know?</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/08/ars-technica-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Changes in Open Directory</title>
		<link>http://tewha.net/2009/08/password-changes-in-open-directory/</link>
		<comments>http://tewha.net/2009/08/password-changes-in-open-directory/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 20:35:15 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Directory]]></category>
		<category><![CDATA[User interface]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=1041</guid>
		<description><![CDATA[John C. Welch (aka Bynkii, Angry Mac Bastard): Password Changes in Open Directory (One burst of profanity). For us Mac users who are sometimes a little too smug about the Mac&#8217;s user interface. (The podcast: Angry Mac Bastards. Extreme profanity &#8230; <a href="http://tewha.net/2009/08/password-changes-in-open-directory/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>John C. Welch (aka Bynkii, Angry Mac Bastard): <a href="http://www.bynkii.com/archives/2009/08/password_changes_in_od.html">Password Changes in Open Directory</a> (One burst of profanity). For us Mac users who are sometimes a little too smug about the Mac&#8217;s user interface. (The podcast: <a href="http://www.angrymacbastards.blogspot.com/">Angry Mac Bastards</a>. Extreme profanity there, though.)</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/08/password-changes-in-open-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rules to avoid retain cycles</title>
		<link>http://tewha.net/2009/07/rules-to-avoid-retain-cycles/</link>
		<comments>http://tewha.net/2009/07/rules-to-avoid-retain-cycles/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 01:16:56 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[memory management]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[release retain]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=967</guid>
		<description><![CDATA[Matt Gallagher: Rules to avoid retain cycles]]></description>
			<content:encoded><![CDATA[<p>Matt Gallagher: <a href="http://cocoawithlove.com/2009/07/rules-to-avoid-retain-cycles.html">Rules to avoid retain cycles</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/07/rules-to-avoid-retain-cycles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple&#039;s developer documentation website is horrible</title>
		<link>http://tewha.net/2009/07/apples-developer-documentation-website-is-horrible/</link>
		<comments>http://tewha.net/2009/07/apples-developer-documentation-website-is-horrible/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 00:10:02 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[crashing]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=939</guid>
		<description><![CDATA[Isn&#8217;t anyone at Apple even mildly embarrassed about how poor the ADC search results are? Like everyone other Mac developer (at least, those not using a seed&#8230; no comment otherwise), I&#8217;ve been bit by the Mac OS X 10.5.7 bug &#8230; <a href="http://tewha.net/2009/07/apples-developer-documentation-website-is-horrible/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Isn&#8217;t anyone at Apple even <strong>mildly</strong> embarrassed about how poor the ADC search results are?</p>
<p>Like everyone other Mac developer (at least, those not using a seed&#8230; no comment otherwise), I&#8217;ve been bit by the Mac OS X 10.5.7 bug that causes Xcode to crash almost every time the documentation viewer is used.</p>
<p>Now I&#8217;m a reasonable guy. I get that a Mac OS X update has to be thoroughly tested. I wouldn&#8217;t want it otherwise. So let me get this off my chest right away: it isn&#8217;t the bug itself that bothers me.</p>
<p>Xcode 3.1.3 shipped after Mac OS X 10.5.7. So it should have been pretty easy to add code to Xcode see if the developer has executed a <code>defaults write com.apple.xcode dontevershowthefuckingdocviewer 1</code> and then never show the documentation viewer, so I wouldn&#8217;t lose unsaved work every time I forgot and tried to open it.<sup><a href="http://tewha.net/2009/07/apples-developer-documentation-website-is-horrible/#footnote_0_939" id="identifier_0_939" class="footnote-link footnote-identifier-link" title="Maybe use a different identifier for it.">1</a></sup></p>
<p>And in the future, the documentation links should be handled via an URL type that can be handled by another application.</p>
<p>And, oh yeah:</p>
<p style="text-align: center;"><strong><span style="color: #800000; font-size: 200%;">Why is the documentation viewer embedded in the IDE?</span></strong></p>
<p>Splitting the documentation viewer into a separate application would make a lot of sense. Browsers crash! If it wasn&#8217;t this, it would be something else that crashed the documentation viewer. This was predictable. This was, dare I say, expected.</p>
<p>But what really, really makes me angry is the developer site. The content is generally pretty good, but the search engine is horrible:</p>
<ul>
<li>Fix your summary so it&#8217;s actually useful.
<p>Apple&#8217;s summary:</p>
<p><img class="aligncenter size-full wp-image-941" title="apple" src="http://tewha.net/wp-content/uploads/2009/07/apple.png" alt="apple" width="461" height="45" />Google&#8217;s summary:</p>
<p><img class="aligncenter size-full wp-image-942" title="google" src="http://tewha.net/wp-content/uploads/2009/07/google.png" alt="google" width="527" height="72" /></p>
<p>There&#8217;s just no comparison.<sup><a href="http://tewha.net/2009/07/apples-developer-documentation-website-is-horrible/#footnote_1_939" id="identifier_1_939" class="footnote-link footnote-identifier-link" title="Google, you rock.">2</a></sup></li>
<li>I don&#8217;t need to see every single empty redirect. Showing the same effective document multiple times is just random clutter.</li>
<li>There are better ways to represent the format of documentation in search results than just including it in the URL.</li>
<li>Add up those last two items, and you realize: I don&#8217;t need PDFs in the search results. PDF should just be linked to from the documentation itself.</li>
</ul>
<p>I&#8217;ll update this when I have more points. The bile has receded enough for me to code again.</p>
<ol class="footnotes"><li id="footnote_0_939" class="footnote">Maybe use a different identifier for it.</li><li id="footnote_1_939" class="footnote">Google, you rock.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/07/apples-developer-documentation-website-is-horrible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developer Color Picker</title>
		<link>http://tewha.net/2009/07/developer-color-picker/</link>
		<comments>http://tewha.net/2009/07/developer-color-picker/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 05:03:07 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[color picker]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=937</guid>
		<description><![CDATA[Wade Cosgrove (Panic): Developer Color Picker. Copy colors from the picker as a [UIColor initWithRed:green:blue:alpha:] sequence.]]></description>
			<content:encoded><![CDATA[<p>Wade Cosgrove (Panic): <a href="http://www.panic.com/~wade/picker/">Developer Color Picker</a>. Copy colors from the picker as a <code>[UIColor initWithRed:green:blue:alpha:]</code> sequence.</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/07/developer-color-picker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging drawing performance</title>
		<link>http://tewha.net/2009/07/debugging-drawing-performance/</link>
		<comments>http://tewha.net/2009/07/debugging-drawing-performance/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 15:55:12 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Quartz]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=925</guid>
		<description><![CDATA[I knew about Quartz Debug.app , but hadn&#8217;t heard of NSShowAllDrawing. Sounds more practical.]]></description>
			<content:encoded><![CDATA[<p>I knew about Quartz Debug.app , but hadn&#8217;t heard of <a href="http://fruitstandsoftware.com/blog/2009/07/quick-and-easy-drawing-performance-debugging-with-nsshowalldrawing/">NSShowAllDrawing</a>. Sounds more practical.</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/07/debugging-drawing-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping optimal autorelease pools</title>
		<link>http://tewha.net/2009/04/keeping-optimal-autorelease-pools/</link>
		<comments>http://tewha.net/2009/04/keeping-optimal-autorelease-pools/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 17:40:05 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[autorelease]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[memory management]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=833</guid>
		<description><![CDATA[Martin Pilkington on autorelease pools: However, a problem arises when you&#8217;re creating a lot of objects at once. The obvious solution is to initialise and release objects by hand in this case, but sometimes it isn&#8217;t possible. A lot of &#8230; <a href="http://tewha.net/2009/04/keeping-optimal-autorelease-pools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Martin Pilkington <a href="http://www.mcubedsw.com/blog/index.php?/site/comments/lazing_by_the_nsautoreleasepool/">on autorelease pools</a>:</p>
<blockquote><p>However, a problem arises when you&#8217;re creating a lot of objects at once. The obvious solution is to initialise and release objects by hand in this case, but sometimes it isn&#8217;t possible. A lot of objects returned by Cocoa methods are autoreleased (by convention any object returned by a class method (other than +new or +alloc) should be autoreleased).</p>
</blockquote>
<p>This is a good practical example of autorelease pool manipulation, including numbers showing before and after.</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/04/keeping-optimal-autorelease-pools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoto Faces fail</title>
		<link>http://tewha.net/2009/03/iphoto-faces-fail/</link>
		<comments>http://tewha.net/2009/03/iphoto-faces-fail/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 17:38:58 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[face recognition]]></category>
		<category><![CDATA[faces]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[iLife]]></category>
		<category><![CDATA[iphoto]]></category>
		<category><![CDATA[iPhoto Faces]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=826</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox[iphoto-fail]" href="/wp-content/uploads/2009/03/iphoto-fail.png"><img class="aligncenter size-medium wp-image-829" title="iphoto-fail" src="http://tewha.net/wp-content/uploads/2009/03/iphoto-fail-300x111.png" alt="iphoto-fail" width="300" height="111" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2009/03/iphoto-faces-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iCal View menu</title>
		<link>http://tewha.net/2008/12/ical-view-menu/</link>
		<comments>http://tewha.net/2008/12/ical-view-menu/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 21:35:28 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[bad user interface]]></category>
		<category><![CDATA[Hall of Shame]]></category>
		<category><![CDATA[iCal]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=736</guid>
		<description><![CDATA[Here&#8217;s iCal&#8217;s View menu. What&#8217;s so confusing about it? You really need to see how it interacts with the iCal main window to understand. We&#8217;re going to be focusing on the group starting with &#8220;Hide Calendar List.&#8221; The iCal main &#8230; <a href="http://tewha.net/2008/12/ical-view-menu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s iCal&#8217;s <strong>View</strong> menu.</p>
<p><img class="aligncenter size-full wp-image-737" title="ical-view-menu" src="http://tewha.net/wp-content/uploads/2008/12/ical-view-menu.png" alt="ical-view-menu" width="328" height="402" /></p>
<p>What&#8217;s so confusing about it? You really need to see how it interacts with the iCal main window to understand. We&#8217;re going to be focusing on the group starting with &#8220;<strong>Hide Calendar List</strong>.&#8221;</p>
<p>The iCal main window looks like this:</p>
<p><img class="aligncenter size-medium wp-image-738" title="ical-main-window" src="http://tewha.net/wp-content/uploads/2008/12/picture-11-300x197.png" alt="ical-main-window" width="300" height="197" /></p>
<p>The sidebar on the left side of the screen looks simple enough. Now let&#8217;s look again at the menu. What would you expect <strong>Hide Calendar List</strong> to do?</p>
<p>Wrong. It does this:</p>
<p><img class="aligncenter size-medium wp-image-739" title="hidden-calendar-list" src="http://tewha.net/wp-content/uploads/2008/12/picture-12-300x197.png" alt="hidden-calendar-list" width="300" height="197" /></p>
<p> </p>
<p><em>Both the calendar and mini month calendar are hidden.</em> Hiding both makes sense, but calling the command <strong>Hide Calendar List</strong> doesn&#8217;t. Go back to the menu, and we see the helpful command &#8220;<strong>Hide Mini Months</strong>.&#8221; What Mini Months? Oh, the ones that were on the iCal window, but aren&#8217;t anymore? I wonder what it does?</p>
<p>It does this:</p>
<p><img class="aligncenter size-medium wp-image-740" title="hide-mini-calendar" src="http://tewha.net/wp-content/uploads/2008/12/picture-13-300x197.png" alt="hide-mini-calendar" width="300" height="197" /></p>
<p>That&#8217;s right. Choosing <strong>Hide Mini Months</strong> <em>showed</em> the mini calendar.</p>
<p>So here&#8217;s how the menu commands work:</p>
<p>The first command, <strong>Show/Hide Calendar List</strong>, hides the entire left side bar: The calendar list and whatever is under it.</p>
<p>The second and third commands, <strong>Show/Hide Mini Months/Notifications</strong>, control what&#8217;s under the calendar list, but still controlled with the <strong>Show/Hide Calendar List</strong> command. And they don&#8217;t actually do what they say they&#8217;re going to do if the calendar lis is hidden. They&#8217;re mutually exclusive: Think of them as Under Calendar List: None, Mini Months, or Notifications.</p>
<p>The fourth and fifth items are entirely independent of the first three items.</p>
<p>Granted, coming up with menu commands to control a UI like this is hard. But that&#8217;s no excuse to throw your hands in the air and settle on this UI.</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2008/12/ical-view-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Save changes?</title>
		<link>http://tewha.net/2008/12/save-changes/</link>
		<comments>http://tewha.net/2008/12/save-changes/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 01:27:19 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[GTK]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Platform differences]]></category>
		<category><![CDATA[screenshots]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=711</guid>
		<description><![CDATA[Is it any wonder I sometimes miss saving?]]></description>
			<content:encoded><![CDATA[<p>Is it any wonder I sometimes miss saving?<img class="aligncenter size-full wp-image-717" title="TextEdit" src="http://tewha.net/wp-content/uploads/2008/12/textedit.png" alt="TextEdit" width="470" height="145" /></p>
<p><img class="aligncenter size-full wp-image-715" title="Mail" src="http://tewha.net/wp-content/uploads/2008/12/mail.png" alt="Mail" width="465" height="145" /></p>
<p><img class="aligncenter size-full wp-image-714" title="Inkscape on Windows" src="http://tewha.net/wp-content/uploads/2008/12/inkscape-win.png" alt="Inkscape on Windows" width="393" height="165" /></p>
<p><img class="aligncenter size-full wp-image-713" title="Inkscape on Mac" src="http://tewha.net/wp-content/uploads/2008/12/inkscape-mac.png" alt="Inkscape on Mac" width="491" height="204" /><img class="aligncenter size-full wp-image-716" title="Notepad" src="http://tewha.net/wp-content/uploads/2008/12/notepad.png" alt="Notepad" width="272" height="133" /></p>
<p><img class="aligncenter size-full wp-image-712" title="EditPad Pro" src="http://tewha.net/wp-content/uploads/2008/12/editpad.png" alt="EditPad Pro" width="520" height="156" /></p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2008/12/save-changes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
