<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="0.92">
<channel>
	<title>Paste Buffer</title>
	<link>http://www.pastebuffer.com</link>
	<description>Code snippets and examples - by Matt Legend Gemmell</description>
	<lastBuildDate>Mon, 12 May 2008 11:10:30 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Constructing an NSColor from Color panel values</title>
		<description>I often find myself constructing an NSColor object based on having sampled a color using the standard Color panel. The issue, of course, is that you need to divide the values in the picker by 255 to get the respective red/green/blue components for an RGB NSColor, as those constructors take ...</description>
		<link>http://www.pastebuffer.com/2007/10/05/constructing-an-nscolor-from-color-panel-values/</link>
			</item>
	<item>
		<title>Setting the text color of an NSButton</title>
		<description>In this era of white-on-black (HUD) interfaces, we often want to change the text-color of NSButtons (including checkboxes and such). NSTextFieldCell has a -setTextColor: method, but NSButtonCell doesn't. You can use -setAttributedTitle: to achieve the desired result, but that's a bit of a hassle.

Here's a simple little category on NSButton ...</description>
		<link>http://www.pastebuffer.com/2007/10/04/setting-the-text-color-of-an-nsbutton/</link>
			</item>
</channel>
</rss>
