<?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: Using NSTreeController</title>
	<atom:link href="http://espresso-served-here.com/2008/04/06/using-nstreecontroller/feed/" rel="self" type="application/rss+xml" />
	<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/</link>
	<description>Mac applications, brewed to perfection</description>
	<pubDate>Sun, 05 Jul 2009 00:08:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Elise van Looij</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-16185</link>
		<dc:creator>Elise van Looij</dc:creator>
		<pubDate>Sat, 14 Mar 2009 14:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-16185</guid>
		<description>Ernest, you need to set the Value Transformer (in IB under the Value property) on your NSButtonCell, NSNegateBoolean, if I'm not mistaken and if the value of the cell is an integer.</description>
		<content:encoded><![CDATA[<p>Ernest, you need to set the Value Transformer (in IB under the Value property) on your NSButtonCell, NSNegateBoolean, if I&#8217;m not mistaken and if the value of the cell is an integer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-11904</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 24 Feb 2009 09:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-11904</guid>
		<description>Hi Ernest,

There could be an issue with incorrect bindings. What I did in my example was to bind the NSValueBinding ("Value" in IB) of the table column to the tree controller's arrangedObjects.displayName keyPath. My first thought is that, as the NSValueBinding of the NSButtonCell refers to the on/off state of the button, the binding is turning them on if the bound string is not nil.

Not sure how you would solve this one as there are two values you need to consider here, the value and the label. This should be possible with bindings, but I'd do a long search on the cocoa-dev mailing list from Apple, this kind of thing comes up regularly.</description>
		<content:encoded><![CDATA[<p>Hi Ernest,</p>
<p>There could be an issue with incorrect bindings. What I did in my example was to bind the NSValueBinding (&#8221;Value&#8221; in IB) of the table column to the tree controller&#8217;s arrangedObjects.displayName keyPath. My first thought is that, as the NSValueBinding of the NSButtonCell refers to the on/off state of the button, the binding is turning them on if the bound string is not nil.</p>
<p>Not sure how you would solve this one as there are two values you need to consider here, the value and the label. This should be possible with bindings, but I&#8217;d do a long search on the cocoa-dev mailing list from Apple, this kind of thing comes up regularly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ernest</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-10317</link>
		<dc:creator>Ernest</dc:creator>
		<pubDate>Thu, 19 Feb 2009 16:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-10317</guid>
		<description>Jonathan, thank you so much for this example.  I have successfully implemented it into my project, but now I have a question for you.  Maybe I am just not doing something right, but here it is:  I added an Outline View to my window, which comes with the standard NSScrollView -&#62; NSOutlineView -&#62; NSTableColumn -&#62; NSTextFieldCell.  This works perfectly with my Tree Controller.  However, when I change the NSTextFieldCell to use the check box cell (NSButtonCell) and run the application I get nothing but "Check" for my list?  Am I missing something with the node in which I have to change to support NSButtonCell vs NSTextFieldCell?</description>
		<content:encoded><![CDATA[<p>Jonathan, thank you so much for this example.  I have successfully implemented it into my project, but now I have a question for you.  Maybe I am just not doing something right, but here it is:  I added an Outline View to my window, which comes with the standard NSScrollView -&gt; NSOutlineView -&gt; NSTableColumn -&gt; NSTextFieldCell.  This works perfectly with my Tree Controller.  However, when I change the NSTextFieldCell to use the check box cell (NSButtonCell) and run the application I get nothing but &#8220;Check&#8221; for my list?  Am I missing something with the node in which I have to change to support NSButtonCell vs NSTextFieldCell?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dann</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-75</link>
		<dc:creator>Jonathan Dann</dc:creator>
		<pubDate>Sat, 05 Jul 2008 19:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-75</guid>
		<description>@Ralph

Sorry I'm afraid I don't have anything prepared.  The example app on &lt;a href="http://katidev.com" rel="nofollow"&gt;katidev&lt;/a&gt; uses an NSOutlineView, so I'd just create an NSTreeController in that NIB and connect it up as I've described in this article.

Jon</description>
		<content:encoded><![CDATA[<p>@Ralph</p>
<p>Sorry I&#8217;m afraid I don&#8217;t have anything prepared.  The example app on <a href="http://katidev.com" rel="nofollow">katidev</a> uses an NSOutlineView, so I&#8217;d just create an NSTreeController in that NIB and connect it up as I&#8217;ve described in this article.</p>
<p>Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dann</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-74</link>
		<dc:creator>Jonathan Dann</dc:creator>
		<pubDate>Sat, 05 Jul 2008 19:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-74</guid>
		<description>@ Ralph,

Sorry I'm afraid I don't have anything prepared.  The example app on &lt;a href="http://katidev.com" rel="nofollow"&gt;katidev&lt;/a&gt; uses an NSOutlineView, so I'd just create an NSTreeController in that NIB and connect it up as I've described in this article.

Jon</description>
		<content:encoded><![CDATA[<p>@ Ralph,</p>
<p>Sorry I&#8217;m afraid I don&#8217;t have anything prepared.  The example app on <a href="http://katidev.com" rel="nofollow">katidev</a> uses an NSOutlineView, so I&#8217;d just create an NSTreeController in that NIB and connect it up as I&#8217;ve described in this article.</p>
<p>Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-73</link>
		<dc:creator>Ralph</dc:creator>
		<pubDate>Sat, 05 Jul 2008 18:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-73</guid>
		<description>Hey Jonathan,

do you have a sample Application which combines your ESNode and XSController?</description>
		<content:encoded><![CDATA[<p>Hey Jonathan,</p>
<p>do you have a sample Application which combines your ESNode and XSController?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Dam Jensen</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-72</link>
		<dc:creator>Jakob Dam Jensen</dc:creator>
		<pubDate>Sat, 05 Jul 2008 15:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-72</guid>
		<description>Thank you so much for this Jonathan - I've been trying to get something to work for the last two days, and somehow it all makes sense to me now - thanks to you.

Take care...</description>
		<content:encoded><![CDATA[<p>Thank you so much for this Jonathan - I&#8217;ve been trying to get something to work for the last two days, and somehow it all makes sense to me now - thanks to you.</p>
<p>Take care&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dann</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-69</link>
		<dc:creator>Jonathan Dann</dc:creator>
		<pubDate>Sat, 07 Jun 2008 16:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-69</guid>
		<description>Not at all, I wrote this to help people!</description>
		<content:encoded><![CDATA[<p>Not at all, I wrote this to help people!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-71</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 06 Jun 2008 17:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-71</guid>
		<description>Ah, indeed, now everything makes sense. Thanks for your patience, that explains a lot.</description>
		<content:encoded><![CDATA[<p>Ah, indeed, now everything makes sense. Thanks for your patience, that explains a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dann</title>
		<link>http://espresso-served-here.com/2008/04/06/using-nstreecontroller/comment-page-1/#comment-70</link>
		<dc:creator>Jonathan Dann</dc:creator>
		<pubDate>Thu, 05 Jun 2008 23:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://jonathandann.wordpress.com/?p=46#comment-70</guid>
		<description>@"File'sOwner.treeController.arrangedObjects.nodeName" will return an NSArray of node names.  The same happens when you have an NSArray and you call [myarray valueForKey:@"key"] the returned array contains the values for those keys.</description>
		<content:encoded><![CDATA[<p>@&#8221;File&#8217;sOwner.treeController.arrangedObjects.nodeName&#8221; will return an NSArray of node names.  The same happens when you have an NSArray and you call [myarray valueForKey:@"key"] the returned array contains the values for those keys.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
