<?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>FoggyBloggin' &#187; Cocoa</title>
	<atom:link href="http://foggynoggin.com/blog/index.php/category/cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://foggynoggin.com/blog</link>
	<description>The FoggyNoggin Software Weblog</description>
	<lastBuildDate>Tue, 24 Feb 2009 20:54:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>148Apps Interview</title>
		<link>http://foggynoggin.com/blog/index.php/2009/02/24/148apps-interview/</link>
		<comments>http://foggynoggin.com/blog/index.php/2009/02/24/148apps-interview/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 20:54:06 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/index.php/2009/02/24/148apps-interview/</guid>
		<description><![CDATA[The good folks at 148Apps have posted an interview with yours truly for their &#8220;App Store Insider&#8221; podcast. Apparently, I&#8217;m something of a blabbermouth, because they had to split the thing into 2 parts!
Thanks to Tom Hesser for inviting me to be on the show. It was a blast!
]]></description>
			<content:encoded><![CDATA[<p>The good folks at <a href="148apps.com">148Apps</a> have posted an <a href="http://www.148apps.com/news/app-store-insider-august-trometer/">interview with yours truly</a> for their &#8220;App Store Insider&#8221; podcast. Apparently, I&#8217;m something of a blabbermouth, because they had to split the thing into 2 parts!</p>
<p>Thanks to Tom Hesser for inviting me to be on the show. It was a blast!</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2009/02/24/148apps-interview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Case of the Mysterious &#8220;Can&#8217;t cache image&#8221; Error</title>
		<link>http://foggynoggin.com/blog/index.php/2007/02/20/the-case-of-the-mysterious-cant-cache-image-error/</link>
		<comments>http://foggynoggin.com/blog/index.php/2007/02/20/the-case-of-the-mysterious-cant-cache-image-error/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 23:30:35 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Desktopple]]></category>
		<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/index.php/2007/02/20/the-case-of-the-mysterious-cant-cache-image-error/</guid>
		<description><![CDATA[I&#8217;ve been working a bit on Desktopple Pro. It doesn&#8217;t matter how thorough or how long the test, Beta Tests can&#8217;t catch everything. So whenever there&#8217;s a release, you&#8217;re always going to have a lingering bug or two. And today, I&#8217;ve been squashing those bugs.
I had just done a build, tried to load the Desktopple [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working a bit on Desktopple Pro. It doesn&#8217;t matter how thorough or how long the test, Beta Tests can&#8217;t catch everything. So whenever there&#8217;s a release, you&#8217;re always going to have a lingering bug or two. And today, I&#8217;ve been squashing those bugs.</p>
<p>I had just done a build, tried to load the Desktopple Pro preference pane to test it, and, for some strange reason, it wouldn&#8217;t load. A quick check of the Console log revealed this rather terse error message:</p>
<pre>Can't cache image</pre>
<p>I tried a fresh build, and I got the same error. Puzzled, I then turned to Google. A search revealed a lot of hits for that phrase, but no real answers on the cause or the solution.</p>
<p>Worse, the bugs I had been working on were in the Desktopple app, not the preference pane, so the problem wasn&#8217;t a result of a code change, but something that was already there!</p>
<p>Fortunately, after a few hours of pulling out my hair, I finally figured it out. And since Google didn&#8217;t help, and there really weren&#8217;t any solutions out there, I&#8217;m posting mine. Hopefully, it will save others the frustration of trying to figure out this unhelpful error message.</p>
<p>Turns out that if you -lockFocus on an NSImage with either a zero width or a zero height, you&#8217;ll get the &#8220;Can&#8217;t cache image&#8221; error (other issues may cause it as well).</p>
<p>The solution is easy: before locking focus on the image, make sure the image has non-zero height and width.</p>
<p>Look for this fix (as well as a couple others in Desktopple Pro) in a day or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2007/02/20/the-case-of-the-mysterious-cant-cache-image-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learning Cocoa</title>
		<link>http://foggynoggin.com/blog/index.php/2007/02/17/learning-cocoa/</link>
		<comments>http://foggynoggin.com/blog/index.php/2007/02/17/learning-cocoa/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 17:35:32 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Developer]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/index.php/2007/02/17/learning-cocoa/</guid>
		<description><![CDATA[For those aspiring developers out there, Scott Stevenson has posted Part II of his introduction to Cocoa series (if you missed, Part I is here).
Scott does a fantastic job of presenting complex concepts in easy-to-understand ways, and if you are interested in getting started in Mac/Cocoa programming, I recommend his tutorials without hesitation. In fact, [...]]]></description>
			<content:encoded><![CDATA[<p>For those aspiring developers out there, <a href="http://theocacao.com/">Scott Stevenson</a> has posted <a href="http://cocoadevcentral.com/d/learn_cocoa_two/">Part II</a> of his introduction to Cocoa series (if you missed, Part I is <a href="http://cocoadevcentral.com/d/learn_cocoa/">here</a>).</p>
<p>Scott does a fantastic job of presenting complex concepts in easy-to-understand ways, and if you are interested in getting started in Mac/Cocoa programming, I recommend his tutorials without hesitation. In fact, when I was just learning, Scott&#8217;s Cocoa site, <a href="http://cocoadevcentral.com">CocoaDevCentral</a>, was instrumental in so many ways.</p>
<p>Great job, Scott!</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2007/02/17/learning-cocoa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktopple Pro Status</title>
		<link>http://foggynoggin.com/blog/index.php/2007/01/18/desktopple-pro-status/</link>
		<comments>http://foggynoggin.com/blog/index.php/2007/01/18/desktopple-pro-status/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 16:23:51 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Desktopple]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/index.php/2007/01/18/desktopple-pro-status/</guid>
		<description><![CDATA[As mentioned in a previous post, there&#8217;s a memory issue where Desktopple Pro appears to consume too much RAM.
As promised, I&#8217;ve been working to solve this, and it seems that the problem lies within the Desktopple Preferences. Basically, if you lauch Desktopple Pro and don&#8217;t open Upon further digging, the source of the memory usage [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in a previous post, there&#8217;s a memory issue where Desktopple Pro appears to consume too much RAM.</p>
<p>As promised, I&#8217;ve been working to solve this, and it seems that the problem lies within the Desktopple Preferences. Basically, if you lauch Desktopple Pro and don&#8217;t open Upon further digging, the source of the memory usage is in Apple&#8217;s bindings technology. To be honest, I don&#8217;t know whether it&#8217;s an Apple bug or a me bug, but it&#8217;s definitely a bug.</p>
<p>In any case, the solution I came up with was bigger than I intended. One of my biggest feature requests since Desktopple Pro was released was to make it a Preference Pane app instead of a menu bar app. This has the advantage of still letting Desktopple Pro do its magic while removing the icon from the menu bar. You&#8217;ll be able to choose whether you want to see the menu bar icon, so those with small screens will really appreciate the regained real estate, while those with larger screens will still be able to show the icon in the menu bar.</p>
<p>The upshot is that I&#8217;m still working on it. I&#8217;ve got another day or two worth of work, then a few days for testing, so I hope to have a release early next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2007/01/18/desktopple-pro-status/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resolution Independence, the Command Line, and TIFFer</title>
		<link>http://foggynoggin.com/blog/index.php/2006/11/17/resolution-independence-the-command-line-and-tiffer/</link>
		<comments>http://foggynoggin.com/blog/index.php/2006/11/17/resolution-independence-the-command-line-and-tiffer/#comments</comments>
		<pubDate>Fri, 17 Nov 2006 17:55:50 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/index.php/2006/11/17/resolution-independence-the-command-line-and-tiffer/</guid>
		<description><![CDATA[Apple and &#8220;resolution independence&#8221; are a hot topic right now. The talk has focused mainly the merits of vector-based art versus rasterized bitmaps. I don&#8217;t know enough about either to jump into the fray, so I won&#8217;t even try. What I do know is that developers will end up using both vectors and bitmaps whether [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://FoggyNoggin.com/developer"><img align="left" alt="TIFFer" title="TIFFer" src="/_graphics/TIFFer.jpg" /></a>Apple and &#8220;resolution independence&#8221; are a <a href="http://stephendeken.net/index.cgi/2006/11/15/Vector_Vs_Raster_The_Fools_Game">hot</a> <a href="http://www.objc.net/blogger/2006/11/resolution-independent-bullshit-meter.html">topic</a> <a href="http://iconfactory.com/home/permalink/1731">right</a> now. The talk has focused mainly the merits of vector-based art versus rasterized bitmaps. I don&#8217;t know enough about either to jump into the fray, so I won&#8217;t even try. What I <em>do</em> know is that developers will end up using both vectors and bitmaps whether they want to or not.</p>
<p>In Leopard, Apple nicely included a little command line utility that takes two TIFF images of differing resolutions and combines them. It first checks to see if the images can be combined (making sure the resolutions match up, etc.). It then compresses the resulting combined image. The problem with the utility is that it&#8217;s command line based, so you end up doing a lot of needless typing.</p>
<p>While working to update some of my apps to include resolution independence, I found myself dropping into the command line a lot. To save time, I whipped up a little utility called <a href="http://FoggyNoggin.com/developer">TIFFer</a>.  It&#8217;s basically a wrapper around the Apple utility, but I find it fits into my workflow much better. It&#8217;s freeware for any developers who might need it, <a href="http://FoggyNoggin.com/developer">so get it now.</a></p>
<p><em> [Caveat Emptor: This is a Leopard-only app, and I've only tested it on my machine. If it doesn't work for you (and you're running Leopard), please <a href="http://FoggyNoggin.com/contact">let me know</a>.]<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2006/11/17/resolution-independence-the-command-line-and-tiffer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WWDC Bound</title>
		<link>http://foggynoggin.com/blog/index.php/2006/05/20/wwdc-bound/</link>
		<comments>http://foggynoggin.com/blog/index.php/2006/05/20/wwdc-bound/#comments</comments>
		<pubDate>Sat, 20 May 2006 13:37:36 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/index.php/2006/05/20/wwdc-bound/</guid>
		<description><![CDATA[Well, bought the ticket today, as well as made hotel reservations. This will be my second WWDC, and I&#8217;m really looking forward to it. It&#8217;s certainly not cheap, but it&#8217;s definitely worth it. I can&#8217;t wait!
]]></description>
			<content:encoded><![CDATA[<p>Well, bought the ticket today, as well as made hotel reservations. This will be my second WWDC, and I&#8217;m really looking forward to it. It&#8217;s certainly not cheap, but it&#8217;s definitely worth it. I can&#8217;t wait!</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2006/05/20/wwdc-bound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktopple 1.0</title>
		<link>http://foggynoggin.com/blog/index.php/2006/01/23/desktopple-10/</link>
		<comments>http://foggynoggin.com/blog/index.php/2006/01/23/desktopple-10/#comments</comments>
		<pubDate>Mon, 23 Jan 2006 19:39:19 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Desktopple]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/?p=3</guid>
		<description><![CDATA[The other day I needed to take a screenshot, but my desktop, as usual, was full of files. So I had to move them all off before I could take the screenshot. Unfortunately, this is a common occurrence. Like any good programmer, I decided to figure out a way to make it easy. So, I [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I needed to take a screenshot, but my desktop, as usual, was full of files. So I had to move them all off before I could take the screenshot. Unfortunately, this is a common occurrence. Like any good programmer, I decided to figure out a way to make it easy. So, I whipped up <a href="http://FoggyNoggin.com/desktopple">Desktopple</a>.</p>
<p>Desktopple is a menu item that will let you quickly hide your entire Desktop. It&#8217;s free (<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&#038;business=FoggyNoggin%40mac%2ecom&#038;item_name=Desktopple%20Development%20Donation&#038;no_shipping=0&#038;no_note=1&#038;tax=0&#038;currency_code=USD&#038;bn=PP%2dDonationsBF&#038;charset=UTF%2d8">donations gratefully accepted</a>), but it also hasn&#8217;t been fully tested, so consider it Beta, please. Web 2.0, here I come!</p>
<p>Here&#8217;s the link: <a href="http://FoggyNoggin.com/desktopple">Desktopple</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2006/01/23/desktopple-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cookie Assassin 1.0</title>
		<link>http://foggynoggin.com/blog/index.php/2005/11/17/cookie-assassin-10/</link>
		<comments>http://foggynoggin.com/blog/index.php/2005/11/17/cookie-assassin-10/#comments</comments>
		<pubDate>Thu, 17 Nov 2005 14:13:34 +0000</pubDate>
		<dc:creator>August</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Cookie Assassin]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://foggynoggin.com/blog/?p=2</guid>
		<description><![CDATA[I&#8217;ve officially released Cookie Assassin 1.0, which helps you manage your cookies, regardless of which application created them. I&#8217;ve got a lot of features planned for this one, so stay tuned!
&#160;
]]></description>
			<content:encoded><![CDATA[<p><img src="/_graphics/CookieAssassinIcon.jpg" width="50" style="float:left;" alt="Cookie Assassin -- The Mac's Best Cookie Manager"/>I&#8217;ve officially released <a href="http://FoggyNoggin.com/CA">Cookie Assassin 1.0</a>, which helps you manage your cookies, regardless of which application created them. I&#8217;ve got a lot of features planned for this one, so stay tuned!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://foggynoggin.com/blog/index.php/2005/11/17/cookie-assassin-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
