<?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: Fun with the Objective-C Runtime</title>
	<atom:link href="http://jens.ayton.se/blag/fun-with-the-objc-runtime/feed/" rel="self" type="application/rss+xml" />
	<link>http://jens.ayton.se/blag/fun-with-the-objc-runtime/</link>
	<description>Cocoa coding stuff, when I can be bothered.</description>
	<lastBuildDate>Mon, 28 Jun 2010 19:09:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jens Ayton</title>
		<link>http://jens.ayton.se/blag/fun-with-the-objc-runtime/comment-page-1/#comment-164</link>
		<dc:creator>Jens Ayton</dc:creator>
		<pubDate>Fri, 12 Dec 2008 11:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://jens.ayton.se/blag/?p=41#comment-164</guid>
		<description>I haven’t looked at it in detail, but the first thing I like about RMModelObject compared to my quick hack is that it isn’t NSDictionary. :-) Using +resolveInstanceMethod for automatic model objects and mock objects is well and good, but I still don’t think using it on any old dictionary is a great idea. (Has-a vs. is-a releationships, and all that.)</description>
		<content:encoded><![CDATA[<p>I haven’t looked at it in detail, but the first thing I like about RMModelObject compared to my quick hack is that it isn’t NSDictionary. :-) Using +resolveInstanceMethod for automatic model objects and mock objects is well and good, but I still don’t think using it on any old dictionary is a great idea. (Has-a vs. is-a releationships, and all that.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre Pang</title>
		<link>http://jens.ayton.se/blag/fun-with-the-objc-runtime/comment-page-1/#comment-163</link>
		<dc:creator>Andre Pang</dc:creator>
		<pubDate>Fri, 12 Dec 2008 10:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://jens.ayton.se/blag/?p=41#comment-163</guid>
		<description>For a rather dramatic extension of this idea (that also uses +resolveInstanceMethod), have a look at &lt;a href=&quot;http://www.realmacforge.com/svn/trunk/RMModelObject/&quot; rel=&quot;nofollow&quot;&gt;RMModelObject&lt;/a&gt;.  There are some problems with it and it&#039;s not quite complete, but it&#039;s good enough that we&#039;re actually using it in production :).</description>
		<content:encoded><![CDATA[<p>For a rather dramatic extension of this idea (that also uses +resolveInstanceMethod), have a look at <a href="http://www.realmacforge.com/svn/trunk/RMModelObject/" rel="nofollow">RMModelObject</a>.  There are some problems with it and it&#8217;s not quite complete, but it&#8217;s good enough that we&#8217;re actually using it in production :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Ayton</title>
		<link>http://jens.ayton.se/blag/fun-with-the-objc-runtime/comment-page-1/#comment-159</link>
		<dc:creator>Jens Ayton</dc:creator>
		<pubDate>Tue, 02 Dec 2008 21:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://jens.ayton.se/blag/?p=41#comment-159</guid>
		<description>You are quite right, -setFruit: it is.</description>
		<content:encoded><![CDATA[<p>You are quite right, -setFruit: it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Duncan</title>
		<link>http://jens.ayton.se/blag/fun-with-the-objc-runtime/comment-page-1/#comment-158</link>
		<dc:creator>Keith Duncan</dc:creator>
		<pubDate>Tue, 02 Dec 2008 20:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://jens.ayton.se/blag/?p=41#comment-158</guid>
		<description>I do enjoy runtime hackery.

Though I think there&#039;s a slight mistake in the comment on Easy Dictionary, isn&#039;t it -setFruit: which is dynamically generated?

I wouldn&#039;t be so quick to discount using the code either, I typically prototype things in NSDictionary and use my version of this code to synthesize virtual assessors. So when I swap that dictionary out for a bona fide model object I just have to copy and paste the property declarations and include the synthesize directive. That way client code will work with zero changes, it&#039;s as if nothing changed.

I look forward to working on 64 bit only when the instance variables are synthesized automatically too.</description>
		<content:encoded><![CDATA[<p>I do enjoy runtime hackery.</p>
<p>Though I think there&#8217;s a slight mistake in the comment on Easy Dictionary, isn&#8217;t it -setFruit: which is dynamically generated?</p>
<p>I wouldn&#8217;t be so quick to discount using the code either, I typically prototype things in NSDictionary and use my version of this code to synthesize virtual assessors. So when I swap that dictionary out for a bona fide model object I just have to copy and paste the property declarations and include the synthesize directive. That way client code will work with zero changes, it&#8217;s as if nothing changed.</p>
<p>I look forward to working on 64 bit only when the instance variables are synthesized automatically too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
