<?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"
	>
<channel>
	<title>Comments on: NSViewController, the New C in MVC - Pt. 2 of 3</title>
	<atom:link href="http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/</link>
	<description>Developing Interfaces with Cocoa</description>
	<pubDate>Fri, 05 Sep 2008 19:46:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Michael</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-205</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 06 Jun 2008 15:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-205</guid>
		<description>Speaking of representedObject -- it's worth noting that default setRepresentedObject implementation in NSViewController (not suprisingly) retains the object. So if you use it to represent your document (NSDocument) subclass you end up with circular references/leak.</description>
		<content:encoded><![CDATA[<p>Speaking of representedObject &#8212; it&#8217;s worth noting that default setRepresentedObject implementation in NSViewController (not suprisingly) retains the object. So if you use it to represent your document (NSDocument) subclass you end up with circular references/leak.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cathy</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-204</link>
		<dc:creator>Cathy</dc:creator>
		<pubDate>Wed, 04 Jun 2008 03:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-204</guid>
		<description>Hi Michael, 

We had it that way at one point, but changed it because it's not necessarily true that a subcontroller will want the same represetned object as its supercontroller.  

After thinking about it for a while we decided that the way data is organized and made accessible to the view controllers is going to be different depending on the application.  We didn't want this design to impose the idea that it should all be centralized in one  single "representedObject".  That's just one way to go about it.  Other applications might have a more complicated setup.  

So, we're leaving it up to you to decided how to work with the represetned object for the view controllers.</description>
		<content:encoded><![CDATA[<p>Hi Michael, </p>
<p>We had it that way at one point, but changed it because it&#8217;s not necessarily true that a subcontroller will want the same represetned object as its supercontroller.  </p>
<p>After thinking about it for a while we decided that the way data is organized and made accessible to the view controllers is going to be different depending on the application.  We didn&#8217;t want this design to impose the idea that it should all be centralized in one  single &#8220;representedObject&#8221;.  That&#8217;s just one way to go about it.  Other applications might have a more complicated setup.  </p>
<p>So, we&#8217;re leaving it up to you to decided how to work with the represetned object for the view controllers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-203</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 03 Jun 2008 14:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-203</guid>
		<description>Shouldn't the XSViewController have a default setRepresentedObject implementation that forwards setRepresentedObject to all it's children?</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t the XSViewController have a default setRepresentedObject implementation that forwards setRepresentedObject to all it&#8217;s children?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cathy</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-192</link>
		<dc:creator>Cathy</dc:creator>
		<pubDate>Fri, 23 May 2008 09:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-192</guid>
		<description>Sooooon!!!  Sorry it's taking so long...combination of being busy with my job and having a bit of writer's block. ;)</description>
		<content:encoded><![CDATA[<p>Sooooon!!!  Sorry it&#8217;s taking so long&#8230;combination of being busy with my job and having a bit of writer&#8217;s block. <img src='http://katidev.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-191</link>
		<dc:creator>Ralph</dc:creator>
		<pubDate>Fri, 23 May 2008 09:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-191</guid>
		<description>Great work! But when will we see part three?</description>
		<content:encoded><![CDATA[<p>Great work! But when will we see part three?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charles</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-179</link>
		<dc:creator>charles</dc:creator>
		<pubDate>Wed, 23 Apr 2008 13:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-179</guid>
		<description>The arch issue is due to the Xcode beta backward compatibility. To fix the problem, select the arch setting and press delete.This will have the setting go back to the default.</description>
		<content:encoded><![CDATA[<p>The arch issue is due to the Xcode beta backward compatibility. To fix the problem, select the arch setting and press delete.This will have the setting go back to the default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cathy</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-176</link>
		<dc:creator>Cathy</dc:creator>
		<pubDate>Tue, 22 Apr 2008 15:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-176</guid>
		<description>Hi Anonymous,

I've seen this and I think it has to do with backwards compatibility with the xcode project...maybe someone else has an idea?

We'll be posting an update to the code in the next couple of days and I'll make just the source code available as well as the xcode project.</description>
		<content:encoded><![CDATA[<p>Hi Anonymous,</p>
<p>I&#8217;ve seen this and I think it has to do with backwards compatibility with the xcode project&#8230;maybe someone else has an idea?</p>
<p>We&#8217;ll be posting an update to the code in the next couple of days and I&#8217;ll make just the source code available as well as the xcode project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-175</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 21 Apr 2008 04:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-175</guid>
		<description>I feel so silly like I did something wrong, but when I try to compile the example project in the beginning of this entry, I get this message!

Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-921/pbxcore/SpecificationTypes/XCCompilerSpecification.m:267
Details:  arch should be a non-empty string, but it's an empty string

I tried changing my architecture to my Mac's arch type, but it was no good! What is going on? :(</description>
		<content:encoded><![CDATA[<p>I feel so silly like I did something wrong, but when I try to compile the example project in the beginning of this entry, I get this message!</p>
<p>Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-921/pbxcore/SpecificationTypes/XCCompilerSpecification.m:267<br />
Details:  arch should be a non-empty string, but it&#8217;s an empty string</p>
<p>I tried changing my architecture to my Mac&#8217;s arch type, but it was no good! What is going on? <img src='http://katidev.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bill</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-172</link>
		<dc:creator>bill</dc:creator>
		<pubDate>Fri, 18 Apr 2008 20:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-172</guid>
		<description>hi i enjoyed the read</description>
		<content:encoded><![CDATA[<p>hi i enjoyed the read</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dann</title>
		<link>http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/#comment-166</link>
		<dc:creator>Jonathan Dann</dc:creator>
		<pubDate>Thu, 17 Apr 2008 23:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://katidev.com/blog/?p=109#comment-166</guid>
		<description>Yeah, but isn't the diagram so much prettier ;-)</description>
		<content:encoded><![CDATA[<p>Yeah, but isn&#8217;t the diagram so much prettier <img src='http://katidev.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.658 seconds -->
