<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Leopard: PhotoSearch demo app now live</title>
	<atom:link href="http://www.corbinstreehouse.com/blog/2007/11/leopard-photosearch-demo-app-now-live/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.corbinstreehouse.com/blog/2007/11/leopard-photosearch-demo-app-now-live/</link>
	<description>Corbin Dunn</description>
	<lastBuildDate>Thu, 26 Jan 2012 21:37:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: corbin</title>
		<link>http://www.corbinstreehouse.com/blog/2007/11/leopard-photosearch-demo-app-now-live/comment-page-1/#comment-28905</link>
		<dc:creator>corbin</dc:creator>
		<pubDate>Mon, 14 Jan 2008 22:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.corbinstreehouse.com/blog/?p=262#comment-28905</guid>
		<description>Don -- it was temporary. In Leopard, we introduced backgroundStyle on cell; that is the thing to use.</description>
		<content:encoded><![CDATA[<p>Don &#8212; it was temporary. In Leopard, we introduced backgroundStyle on cell; that is the thing to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Rowley</title>
		<link>http://www.corbinstreehouse.com/blog/2007/11/leopard-photosearch-demo-app-now-live/comment-page-1/#comment-28735</link>
		<dc:creator>Dan Rowley</dc:creator>
		<pubDate>Fri, 11 Jan 2008 16:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.corbinstreehouse.com/blog/?p=262#comment-28735</guid>
		<description>This is a great sample - I saw the WWDC talk and it&#039;s been very instructive - thanks!

In the DateCell for this sample, your drawInteriorWithFrame:(NSRect)bounds inView:(NSView *)controlView override sets a private instance variable (_cFlags.needsHighlightedText) in order to get white highlighted text.  Is this kosher in the real world, since it&#039;s undocumented?  I&#039;ve actually been trying to coerce an NSTextFieldCell into NOT drawing white highlighted text and I&#039;ve come to the conclusion that it just can&#039;t be done without using one or more private methods (I would love to be corrected on that point), so I guess I&#039;ll just replace the cell class wholesale - no matter how many times (or in how many places) I set the text color, the attributed string that the cell eventually uses to draw has white text.</description>
		<content:encoded><![CDATA[<p>This is a great sample &#8211; I saw the WWDC talk and it&#8217;s been very instructive &#8211; thanks!</p>
<p>In the DateCell for this sample, your drawInteriorWithFrame:(NSRect)bounds inView:(NSView *)controlView override sets a private instance variable (_cFlags.needsHighlightedText) in order to get white highlighted text.  Is this kosher in the real world, since it&#8217;s undocumented?  I&#8217;ve actually been trying to coerce an NSTextFieldCell into NOT drawing white highlighted text and I&#8217;ve come to the conclusion that it just can&#8217;t be done without using one or more private methods (I would love to be corrected on that point), so I guess I&#8217;ll just replace the cell class wholesale &#8211; no matter how many times (or in how many places) I set the text color, the attributed string that the cell eventually uses to draw has white text.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

