<?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: Getting started with Key-Value Observing</title>
	<atom:link href="http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/</link>
	<description>injuries sustained turning indy</description>
	<lastBuildDate>Wed, 01 Dec 2010 22:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Corey</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-387</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Fri, 13 Aug 2010 15:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-387</guid>
		<description>Actually you can google MAKVONotificationCenter, where Mike Ash has done just that.  I use it myself and does make for cleaner code!</description>
		<content:encoded><![CDATA[<p>Actually you can google MAKVONotificationCenter, where Mike Ash has done just that.  I use it myself and does make for cleaner code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-386</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Fri, 13 Aug 2010 07:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-386</guid>
		<description>Thanks. Your explanation of KVO has made the MVC idea clearer for me. KVO should be more prominent in all the various iPhone programming books out there, if only to give people a tool to make apps more MVC complient.

...on the other hand, it does seem that Apple could have a cleaner approach to implementing KVO in Objective-C. The current approach requires a lot of if statements (if keyPath isEqual..etc) in the observeValueForKeyPath method, if several keyPaths are being observed. 
A better implementation might be:
[obj addObsever:self forKeyPath:@&quot;person.name&quot; usingSelector:@selector(nameChanged:)]
So a separate method is fired directly when the keyPath&#039;s value is changed.</description>
		<content:encoded><![CDATA[<p>Thanks. Your explanation of KVO has made the MVC idea clearer for me. KVO should be more prominent in all the various iPhone programming books out there, if only to give people a tool to make apps more MVC complient.</p>
<p>&#8230;on the other hand, it does seem that Apple could have a cleaner approach to implementing KVO in Objective-C. The current approach requires a lot of if statements (if keyPath isEqual..etc) in the observeValueForKeyPath method, if several keyPaths are being observed.<br />
A better implementation might be:<br />
[obj addObsever:self forKeyPath:@"person.name" usingSelector:@selector(nameChanged:)]<br />
So a separate method is fired directly when the keyPath&#8217;s value is changed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-385</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Thu, 12 Aug 2010 22:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-385</guid>
		<description>That is a pretty typical use case. Since there are no bindings on the iPhone, however, you have to still need some &quot;glue code&quot; in your view controllers.  

Also, you do not want the model to observe the view, that makes it less portable. Your controllers should update the model directly.</description>
		<content:encoded><![CDATA[<p>That is a pretty typical use case. Since there are no bindings on the iPhone, however, you have to still need some &#8220;glue code&#8221; in your view controllers.  </p>
<p>Also, you do not want the model to observe the view, that makes it less portable. Your controllers should update the model directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-384</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Thu, 12 Aug 2010 21:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-384</guid>
		<description>Can KVO be used as the glue between the Model and View? So the Controller, using KVO, observes changes in the Model and updates the View, and vice versa?</description>
		<content:encoded><![CDATA[<p>Can KVO be used as the glue between the Model and View? So the Controller, using KVO, observes changes in the Model and updates the View, and vice versa?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-157</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Sat, 20 Jun 2009 01:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-157</guid>
		<description>i got it from @dtm3dd. Check his blog post or his past tweets, I think it was called seaside or something similar.</description>
		<content:encoded><![CDATA[<p>i got it from @dtm3dd. Check his blog post or his past tweets, I think it was called seaside or something similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uprise78</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-156</link>
		<dc:creator>Uprise78</dc:creator>
		<pubDate>Fri, 19 Jun 2009 17:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-156</guid>
		<description>Totally off topic...where did you get the Xcode theme and would you mind sharing it?</description>
		<content:encoded><![CDATA[<p>Totally off topic&#8230;where did you get the Xcode theme and would you mind sharing it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhoneKicks.com</title>
		<link>http://www.theflyingjalapenolives.com/2009/06/getting-started-with-key-value-observing/comment-page-1/#comment-123</link>
		<dc:creator>iPhoneKicks.com</dc:creator>
		<pubDate>Fri, 05 Jun 2009 10:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.theflyingjalapenolives.com/?p=371#comment-123</guid>
		<description>&lt;strong&gt;Getting started with Key-Value Observing ...&lt;/strong&gt;

You&#039;ve been kicked (a good thing) - Trackback from iPhoneKicks.com - iPhone SDK links, community driven...</description>
		<content:encoded><![CDATA[<p><strong>Getting started with Key-Value Observing &#8230;</strong></p>
<p>You&#8217;ve been kicked (a good thing) &#8211; Trackback from iPhoneKicks.com &#8211; iPhone SDK links, community driven&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

