<?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"
	>

<channel>
	<title>Bithaus</title>
	<atom:link href="http://bithaus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bithaus.com</link>
	<description>Doin' teh do.</description>
	<pubDate>Thu, 11 Oct 2007 16:03:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>The most stylish are often running a little late&#8230;</title>
		<link>http://bithaus.com/2007/10/10/the-most-stylish-are-often-running-a-little-late/</link>
		<comments>http://bithaus.com/2007/10/10/the-most-stylish-are-often-running-a-little-late/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 01:36:11 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[]]></category>

		<guid isPermaLink="false">http://bithaus.com/2007/10/10/the-most-stylish-are-often-running-a-little-late/</guid>
		<description><![CDATA[ I finally opened this back up and added some things and fixed some things. Thanks in part to some contributions by Mark Hill over at MachineCodex and it really was long overdue.
I expect that 10.5 might change some things with windows *wink, wink* but this is probably still a useful class. Once 10.5 has [...]]]></description>
			<content:encoded><![CDATA[<p> I finally opened this back up and added some things and fixed some things. Thanks in part to some contributions by Mark Hill over at MachineCodex and it really was long overdue.</p>
<p>I expect that 10.5 might change some things with windows *wink, wink* but this is probably still a useful class. Once 10.5 has shipped I&#8217;ll try to find some time to revisit this and make sure it behaves correctly.</p>
<p>Until then here it is - 2 significant changes:<br />
  1 - toolbars are maybe really actually finally at last working correctly, possibly<br />
  2 - separate gradients for top and bottom borders<br />
  3 - thanks to Mark Hill&#8217;s example, gradients are drawn directly into the bg image<br />
  4 - the files have been cleaned up<br />
(the astute will note that I don&#8217;t really feel 2 of the items above are significant, that might as well be left as activity for the reader)</p>
<p><em>Note: In order to avoid extra work from adding a second gradient, I chose to break the old API (just a little bit). So this is not a drop in replacement but you will know that right away. <grin></em></p>
<p><a href='http://bithaus.com/wp-content/uploads/2007/10/styledwindow.zip' title='Latest StyledWindow'>Latest StyledWindow</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2007/10/10/the-most-stylish-are-often-running-a-little-late/feed/</wfw:commentRss>
		</item>
		<item>
		<title>When confused, run away!</title>
		<link>http://bithaus.com/2007/07/17/when-confused-run-away/</link>
		<comments>http://bithaus.com/2007/07/17/when-confused-run-away/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 18:14:06 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[]]></category>

		<guid isPermaLink="false">http://bithaus.com/2007/07/17/when-confused-run-away/</guid>
		<description><![CDATA[This is just too much fun to keep to myself.

Might be an interesting approach to life. When overwhelmed by something, just bail.
]]></description>
			<content:encoded><![CDATA[<p>This is just too much fun to keep to myself.</p>
<p><img src="http://bithaus.com/wp-content/uploads/2007/07/xcode_bailing.png" width="500" alt="Xcode Bails!" /></p>
<p>Might be an interesting approach to life. When overwhelmed by something, just bail.</p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2007/07/17/when-confused-run-away/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Those stinkin&#8217; NewApplication menu items.</title>
		<link>http://bithaus.com/2007/01/18/those-stinkin-newapplication-menu-items/</link>
		<comments>http://bithaus.com/2007/01/18/those-stinkin-newapplication-menu-items/#comments</comments>
		<pubDate>Fri, 19 Jan 2007 06:30:50 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[]]></category>

		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://bithaus.com/2007/01/18/those-stinkin-newapplication-menu-items/</guid>
		<description><![CDATA[I feel pretty bad.. it&#8217;s been a long time since I&#8217;ve posted. I had such good intentions about doing this regularly, didn&#8217;t quite keep that up. To allay my guilt, here&#8217;s something (I think is) useful.
Why can&#8217;t I just have some kind of substitution token for my App name in my menus? It would be [...]]]></description>
			<content:encoded><![CDATA[<p>I feel pretty bad.. it&#8217;s been a long time since I&#8217;ve posted. I had such good intentions about doing this regularly, didn&#8217;t quite keep that up. To allay my guilt, here&#8217;s something (I think is) useful.</p>
<p>Why can&#8217;t I just have some kind of substitution token for my App name in my menus? It would be so nice if this was just handled for you. Or even just use preprocessor macros. Or something so I don&#8217;t have to build things programmatically.</p>
<p>I&#8217;m working on a project which produces various targets, why would I want a separate MainMenu.nib for each target, when except for the App name they are the same (or at least nearly so).</p>
<p>So here&#8217;s what I did in my AppController&#8217;s AwakeFromNib:</p>
<blockquote style="font-size: 10px"><p><code></p>
<p>NSEnumerator *menuEnumerator = [[[NSApp mainMenu] itemArray] objectEnumerator];<br />
id menuItem;<br />
   while (menuItem = [menuEnumerator nextObject]) {<br />
     if ([menuItem hasSubmenu]) {<br />
       NSEnumerator *subMenuEnumerator = [[[menuItem submenu] itemArray] objectEnumerator];<br />
       id subMenuItem;<br />
       while (subMenuItem = [subMenuEnumerator nextObject]) {<br />
         NSString *menuTitle = [subMenuItem title];<br />
         [subMenuItem setTitle:[[menuTitle <br />
             componentsSeparatedByString:@&#8221;NewApplication&#8221;]<br />
             componentsJoinedByString:[[NSProcessInfo processInfo] processName]]];<br />
       }<br />
     }<br />
   }<br />
</code></p></blockquote>
<p>Maybe you&#8217;ll find a use for it somewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2007/01/18/those-stinkin-newapplication-menu-items/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Now even more Stylish!</title>
		<link>http://bithaus.com/2006/11/15/now-even-more-stylish/</link>
		<comments>http://bithaus.com/2006/11/15/now-even-more-stylish/#comments</comments>
		<pubDate>Wed, 15 Nov 2006 22:06:56 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://bithaus.com/2006/11/15/now-even-more-stylish/</guid>
		<description><![CDATA[(Alright, I found something that was broken that I had overlooked in my implementation. Thanks to Matt Gemmell for helping me resolve the error of my ways.)
StyledWindow now plays properly with Toolbars.
Download
]]></description>
			<content:encoded><![CDATA[<p><i>(Alright, I found something that was broken that I had overlooked in my implementation. Thanks to <a href="http://mattgemmell.com/">Matt Gemmell</a> for helping me resolve the error of my ways.)</i></p>
<p>StyledWindow now plays properly with Toolbars.</p>
<p><a href="/downloads/StyledWindow.zip">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/15/now-even-more-stylish/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A smattering of Pixie dust.</title>
		<link>http://bithaus.com/2006/11/12/a-smattering-of-pixie-dust/</link>
		<comments>http://bithaus.com/2006/11/12/a-smattering-of-pixie-dust/#comments</comments>
		<pubDate>Sun, 12 Nov 2006 20:14:35 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://bithaus.com/2006/11/12/a-smattering-of-pixie-dust/</guid>
		<description><![CDATA[Pixie is a great tool. If you&#8217;re interested in using StyledWindow to recreate existing Polished Metal implementations here are some values for you.
iWeb:
		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7686 alpha:1.0]];
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5922 alpha:1.0]];
		[styledWindow setBorderEdgeColor: [NSColor colorWithDeviceWhite:0.2510 alpha:1.0]];
	

iMovie HD &#038; iDVD:
		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7686 alpha:1.0]];
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5922 alpha:1.0]];
		[styledWindow setBorderEdgeColor:[NSColor colorWithDeviceWhite:0.2549 alpha:1.0]];
	

iPhoto:
		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7686 alpha:1.0]];
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5922 alpha:1.0]];
		[styledWindow setBorderEdgeColor:[NSColor colorWithDeviceWhite:0.4039 alpha:1.0]];
	

iTunes 7:
		[styledWindow [...]]]></description>
			<content:encoded><![CDATA[<p>Pixie is a great tool. If you&#8217;re interested in using <a title="StyledWindow" href="/2006/11/04/stylish-windows/">StyledWindow</a> to recreate existing Polished Metal implementations here are some values for you.</p>
<p>iWeb:</p>
<blockquote style="font-size: 10px"><p><code>		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7686 alpha:1.0]];<br />
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5922 alpha:1.0]];<br />
		[styledWindow setBorderEdgeColor: [NSColor colorWithDeviceWhite:0.2510 alpha:1.0]];<br />
	</code>
</p></blockquote>
<p>iMovie HD &#038; iDVD:</p>
<blockquote style="font-size: 10px"><p><code>		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7686 alpha:1.0]];<br />
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5922 alpha:1.0]];<br />
		[styledWindow setBorderEdgeColor:[NSColor colorWithDeviceWhite:0.2549 alpha:1.0]];<br />
	</code>
</p></blockquote>
<p>iPhoto:</p>
<blockquote style="font-size: 10px"><p><code>		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7686 alpha:1.0]];<br />
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5922 alpha:1.0]];<br />
		[styledWindow setBorderEdgeColor:[NSColor colorWithDeviceWhite:0.4039 alpha:1.0]];<br />
	</code>
</p></blockquote>
<p>iTunes 7:</p>
<blockquote style="font-size: 10px"><p><code>		[styledWindow setBorderStartColor:[NSColor colorWithDeviceWhite:0.7725 alpha:1.0]];<br />
		[styledWindow setBorderEndColor:[NSColor colorWithDeviceWhite:0.5882 alpha:1.0]];<br />
		[styledWindow setBorderEdgeColor:[NSColor colorWithDeviceWhite:0.2510 alpha:1.0]];<br />
	</code>
</p></blockquote>
<p>You can use the Demo App to figure out the heights of the borders.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/12/a-smattering-of-pixie-dust/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Establish some momentum</title>
		<link>http://bithaus.com/2006/11/10/establish-some-momentum/</link>
		<comments>http://bithaus.com/2006/11/10/establish-some-momentum/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 02:25:24 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<guid isPermaLink="false">http://bithaus.com/2006/11/10/establish-some-momentum/</guid>
		<description><![CDATA[Being new to this whole blogging thing&#8230; I&#8217;m going to try make frequent posts. Attempt to establish the habit of putting stuff up or at least writing about putting stuff up.
Those that know me know that talking about stuff isn&#8217;t usually a problem, so I&#8217;ll just need to work on the discipline of writing about [...]]]></description>
			<content:encoded><![CDATA[<p>Being new to this whole blogging thing&#8230; I&#8217;m going to try make frequent posts. Attempt to establish the habit of putting stuff up or at least writing about putting stuff up.</p>
<p>Those that know me know that talking about stuff isn&#8217;t usually a problem, so I&#8217;ll just need to work on the discipline of writing about stuff.</p>
<p>But this will really just be a post about posting&#8230; not quite. I forgot I had something to share.</p>
<p>And a little workflow you might find useful. I got annoyed about the number of steps required to get an Xcode project posted, so I built an Automater workflow: &#8220;Archive Xcode Project&#8221;.</p>
<p>Just put it in ~/Library/Workflows/Applications/Finder/ (create the path if needed) and you can control-click on an Xcode Project folder and get a nice clean archive ready for distribution. It strips .svn dirs, Build dirs and [username].* foo from your projects and then zips. Nice clean archives for sharing with friends and family. </p>
<p><a href="/2006/11/10/archive-xcode-project-folder-workflow/">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/10/establish-some-momentum/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Archive Xcode Project Folder Workflow</title>
		<link>http://bithaus.com/2006/11/10/archive-xcode-project-folder-workflow/</link>
		<comments>http://bithaus.com/2006/11/10/archive-xcode-project-folder-workflow/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 02:24:06 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://bithaus.com/2006/11/10/archive-xcode-project-folder-workflow/</guid>
		<description><![CDATA[An Automator Workflow to make your Xcode Projects (or anything else I guess) ready to share. Install at ~/Library/Workflows/Applications/Finder/ (create the path if needed).
 Download
Update: rev&#8217;d to remove .DS_Store files and  &#8220;build&#8221; (in addition to &#8220;Build&#8221;) folders
]]></description>
			<content:encoded><![CDATA[<p>An Automator Workflow to make your Xcode Projects (or anything else I guess) ready to share. Install at ~/Library/Workflows/Applications/Finder/ (create the path if needed).</p>
<p><a href="/downloads/Archive_Xcode.workflow.zip"><img align="middle" style="border: medium none ; text-decoration: none" src="/wp-content/uploads/2006/11/zipfile.png" /> Download</a></p>
<blockquote><p>Update: rev&#8217;d to remove .DS_Store files and  &#8220;build&#8221; (in addition to &#8220;Build&#8221;) folders</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/10/archive-xcode-project-folder-workflow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reflections Upon a Blog</title>
		<link>http://bithaus.com/2006/11/05/reflections-upon-a-blog/</link>
		<comments>http://bithaus.com/2006/11/05/reflections-upon-a-blog/#comments</comments>
		<pubDate>Sun, 05 Nov 2006 15:45:21 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<guid isPermaLink="false">http://bithaus.com/2006/11/05/reflections-upon-a-blog/</guid>
		<description><![CDATA[Ok, that&#8217;s pretty cheap.
Everyone loves the glossy table top reflections in iChat&#8217;s video conferencing. Right? Ok, you have to at least admit that you like showing it to your Windows using associates.
So here&#8217;s my contribution to virtualizing real life: a category on NSImage that provides you with a reflection of an image. And it comes [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, that&#8217;s pretty cheap.</p>
<p>Everyone loves the glossy table top reflections in iChat&#8217;s video conferencing. Right? Ok, you have to at least admit that you like showing it to your Windows using associates.</p>
<p>So here&#8217;s my contribution to virtualizing real life: a category on NSImage that provides you with a reflection of an image. And it comes with a spiffy Demo App so you can fine tune it to get just the right amount of reflection without having to recompile every time.</p>
<p><a href="/2006/11/05/nsimage-reflection/">Download and Enjoy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/05/reflections-upon-a-blog/feed/</wfw:commentRss>
		</item>
		<item>
		<title>NSImage Reflection</title>
		<link>http://bithaus.com/2006/11/05/nsimage-reflection/</link>
		<comments>http://bithaus.com/2006/11/05/nsimage-reflection/#comments</comments>
		<pubDate>Sun, 05 Nov 2006 15:42:36 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://bithaus.com/2006/11/05/nsimage-reflection/</guid>
		<description><![CDATA[A Category on NSImage to produce a reflection, with the ability to set how much of the reflection is shown.

 Download
Note: it uses Chad Weider&#8217;s extremely convenient CTGradient class.
]]></description>
			<content:encoded><![CDATA[<p>A Category on NSImage to produce a reflection, with the ability to set how much of the reflection is shown.</p>
<p><a href="/wp-content/uploads/2006/11/flected.png" title="Demo App screenshot" rel="lightbox"><img src="/wp-content/uploads/2006/11/flectedthumb1.jpg" /></a></p>
<p><a href="/downloads/Flected.zip"><img src="/wp-content/uploads/2006/11/zipfile.png" style="text-decoration: none; border:none;" align="middle" /> Download</a></p>
<p><em>Note: it uses Chad Weider&#8217;s extremely convenient <a href="http://blog.oofn.net/projects/misc/">CTGradient class</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/05/nsimage-reflection/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stylish Windows</title>
		<link>http://bithaus.com/2006/11/04/stylish-windows/</link>
		<comments>http://bithaus.com/2006/11/04/stylish-windows/#comments</comments>
		<pubDate>Sun, 05 Nov 2006 00:18:04 +0000</pubDate>
		<dc:creator>ganyard</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://bithaus.com/?p=5</guid>
		<description><![CDATA[NSWindow. Very flexible stuff. It&#8217;s used *everywhere*. I mean it, everywhere, look for yourself, hit cmd-shift-4 and then press the spacebar. Move that camera icon around, over Desktop icons, Dock items, Menu Extras, etc, etc. Everywhere.
Pretty versatile.
But most of us still just use what IB provides. Matt Gemmell released TunesWindow a while back and it [...]]]></description>
			<content:encoded><![CDATA[<p>NSWindow. Very flexible stuff. It&#8217;s used *everywhere*. I mean it, everywhere, look for yourself, hit cmd-shift-4 and then press the spacebar. Move that camera icon around, over Desktop icons, Dock items, Menu Extras, etc, etc. Everywhere.</p>
<p>Pretty versatile.</p>
<p>But most of us still just use what IB provides. <a href="http://mattgemmell.com/">Matt Gemmell</a> released <a href="http://mattgemmell.com/source/">TunesWindow</a> a while back and it provided a great solution to making something a bit more unique. I just thought it could be even more flexible so I built StyledWindow based on it. (thanks Matt!)</p>
<p>And since John Gruber delivered the obituary on the Apple HIG at C4 (and everyone is talking about it: <a href="http://www.red-sweater.com/blog/215/build-your-own-damn-hig">Daniel Jalkut</a>, <a href="http://www.zathras.de/angelweb/blog-build-your-own-damn-hig.htm">Uli Kusterer</a>, <a href="http://mjtsai.com/blog/2006/10/23/build-your-own-damn-hig/">Michael Tsai</a>, <a href="http://theococoa.com/document.page/326">Scott Stevenson</a>, et al), it seems time to release this so everyone can now define their own HIG.</p>
<p><a href="/2006/11/04/styledwindow/">Download and Enjoy.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bithaus.com/2006/11/04/stylish-windows/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 5.328 seconds -->
