<?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: A Bindable Custom NSView Subclass</title>
	<atom:link href="http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/</link>
	<description>Cocoa Programming and Other Things</description>
	<lastBuildDate>Mon, 19 Sep 2011 03:07:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Ian Fairchild</title>
		<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/comment-page-1/#comment-44</link>
		<dc:creator>Ian Fairchild</dc:creator>
		<pubDate>Sat, 25 Apr 2009 00:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=259#comment-44</guid>
		<description>What a fantastic tutorial!  I learned more in the last half hour than in the last month.  Thank you, thank you.</description>
		<content:encoded><![CDATA[<p>What a fantastic tutorial!  I learned more in the last half hour than in the last month.  Thank you, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ALEXander</title>
		<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/comment-page-1/#comment-46</link>
		<dc:creator>ALEXander</dc:creator>
		<pubDate>Fri, 24 Apr 2009 16:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=259#comment-46</guid>
		<description>Once again :) Two perfect hits in way day. That really speaks for your tutorials.</description>
		<content:encoded><![CDATA[<p>Once again <img src='http://www.timisted.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Two perfect hits in way day. That really speaks for your tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christiaan</title>
		<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/comment-page-1/#comment-47</link>
		<dc:creator>Christiaan</dc:creator>
		<pubDate>Wed, 08 Apr 2009 21:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=259#comment-47</guid>
		<description>Very nice tutorial, thanks. One fix you should consider though is to make the selectionIndexes binding two-way. That is the way bindings like this are supposed to work. Bindings should always go from view to controller and from controller to data, never the other way around. That avoids infinite update loops and retain cycles. The way to do that is to add the following at the end of mouseUp:

NSDictionary *info = [self infoForBinding:@&quot;selectionIndexes&quot;];
[[info objectForKey:NSObservedObjectKey] setValue:[self selectionIndexes] forKeyPath:[info objectForKey:NSObservedKeyPathKey]];</description>
		<content:encoded><![CDATA[<p>Very nice tutorial, thanks. One fix you should consider though is to make the selectionIndexes binding two-way. That is the way bindings like this are supposed to work. Bindings should always go from view to controller and from controller to data, never the other way around. That avoids infinite update loops and retain cycles. The way to do that is to add the following at the end of mouseUp:</p>
<p>NSDictionary *info = [self infoForBinding:@"selectionIndexes"];<br />
[[info objectForKey:NSObservedObjectKey] setValue:[self selectionIndexes] forKeyPath:[info objectForKey:NSObservedKeyPathKey]];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mozketo</title>
		<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/comment-page-1/#comment-42</link>
		<dc:creator>Mozketo</dc:creator>
		<pubDate>Thu, 05 Mar 2009 22:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=259#comment-42</guid>
		<description>This is truely amazing stuff, thank for for the awesome work. You&#039;ve covered so much in the area&#039;s of my interest. Custom Views, bindings, drawing. This is one blog that I will keep coming back to.</description>
		<content:encoded><![CDATA[<p>This is truely amazing stuff, thank for for the awesome work. You&#8217;ve covered so much in the area&#8217;s of my interest. Custom Views, bindings, drawing. This is one blog that I will keep coming back to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohan Embar</title>
		<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/comment-page-1/#comment-43</link>
		<dc:creator>Mohan Embar</dc:creator>
		<pubDate>Mon, 22 Dec 2008 00:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=259#comment-43</guid>
		<description>Excellent tutorial. Thanks so much.</description>
		<content:encoded><![CDATA[<p>Excellent tutorial. Thanks so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Turner</title>
		<link>http://www.timisted.net/blog/archive/a-bindable-custom-nsview-subclass/comment-page-1/#comment-45</link>
		<dc:creator>Ian Turner</dc:creator>
		<pubDate>Wed, 10 Dec 2008 12:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=259#comment-45</guid>
		<description>Really great tutorial. This is a problem that I tried to work out a few weeks ago and decided to go on another route because it seemed better at the time. This tutorial might just make me have another go though. You rock.</description>
		<content:encoded><![CDATA[<p>Really great tutorial. This is a problem that I tried to work out a few weeks ago and decided to go on another route because it seemed better at the time. This tutorial might just make me have another go though. You rock.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

