<?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: Hitting space bar with two NSButtonCells in an NSTableView</title>
	<atom:link href="http://www.bdunagan.com/2009/04/14/hitting-space-bar-with-two-nsbuttoncells-in-an-nstableview/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bdunagan.com/2009/04/14/hitting-space-bar-with-two-nsbuttoncells-in-an-nstableview/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Sep 2010 01:13:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: bdunagan</title>
		<link>http://www.bdunagan.com/2009/04/14/hitting-space-bar-with-two-nsbuttoncells-in-an-nstableview/comment-page-1/#comment-5943</link>
		<dc:creator>bdunagan</dc:creator>
		<pubDate>Wed, 18 Aug 2010 00:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdunagan.com/?p=152#comment-5943</guid>
		<description>@Richard Interesting thought, but the NSIndexSet object for selected column indexes is consistently empty.</description>
		<content:encoded><![CDATA[<p>@Richard Interesting thought, but the NSIndexSet object for selected column indexes is consistently empty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.bdunagan.com/2009/04/14/hitting-space-bar-with-two-nsbuttoncells-in-an-nstableview/comment-page-1/#comment-4907</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 15 Apr 2010 15:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bdunagan.com/?p=152#comment-4907</guid>
		<description>Instead of
NSTableColumn *checkboxColumn = [self tableColumnWithIdentifier:@&quot;Check&quot;];

maybe try
NSIndexSet *columnIndexes = [self selectedColumnIndexes];
if ([columnIndexes count] &gt; 0) // make sure that there is a selected column
{
    NSTableColumn *activeColumn = [[self tableColumns] objectAtIndex:[columnIndexes lastIndex]];
    // etc.
}</description>
		<content:encoded><![CDATA[<p>Instead of<br />
NSTableColumn *checkboxColumn = [self tableColumnWithIdentifier:@"Check"];</p>
<p>maybe try<br />
NSIndexSet *columnIndexes = [self selectedColumnIndexes];<br />
if ([columnIndexes count] > 0) // make sure that there is a selected column<br />
{<br />
    NSTableColumn *activeColumn = [[self tableColumns] objectAtIndex:[columnIndexes lastIndex]];<br />
    // etc.<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
