<?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: Cocoa Enumeration</title>
	<atom:link href="http://mjtsai.com/blog/2003/12/08/cocoa_enumeration/feed/" rel="self" type="application/rss+xml" />
	<link>http://mjtsai.com/blog/2003/12/08/cocoa_enumeration/</link>
	<description></description>
	<lastBuildDate>Sat, 20 Mar 2010 14:01:58 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael</title>
		<link>http://mjtsai.com/blog/2003/12/08/cocoa_enumeration/comment-page-1/#comment-13338</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 15 Jul 2006 15:55:56 +0000</pubDate>
		<guid isPermaLink="false">/?p=735#comment-13338</guid>
		<description>Here is an &lt;a href=&quot;http://mjtsai.com/blog/2006/07/15/cocoa-foreach-macro/&quot; rel=&quot;nofollow&quot;&gt;updated version of the macro&lt;/a&gt; that supports loop-scope variables and static typing.</description>
		<content:encoded><![CDATA[<p>Here is an <a href="http://mjtsai.com/blog/2006/07/15/cocoa-foreach-macro/" rel="nofollow">updated version of the macro</a> that supports loop-scope variables and static typing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://mjtsai.com/blog/2003/12/08/cocoa_enumeration/comment-page-1/#comment-13334</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 15 Jul 2006 02:19:33 +0000</pubDate>
		<guid isPermaLink="false">/?p=735#comment-13334</guid>
		<description>Thinking about this some more, I think there&#039;s a bug in Rentzsch&#039;s macro because it evaluates OBJ more than once.</description>
		<content:encoded><![CDATA[<p>Thinking about this some more, I think there's a bug in Rentzsch's macro because it evaluates OBJ more than once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joris Kluivers</title>
		<link>http://mjtsai.com/blog/2003/12/08/cocoa_enumeration/comment-page-1/#comment-8313</link>
		<dc:creator>Joris Kluivers</dc:creator>
		<pubDate>Fri, 05 Aug 2005 00:08:21 +0000</pubDate>
		<guid isPermaLink="false">/?p=735#comment-8313</guid>
		<description>A bit late, but some people might run into the same problem as I did. I tried your code but it would not compile, complaining about a wrong lvalue assignment. Turns out to be the assignment in the while statement. &amp;&amp; has higher precedence then =, so the = will failt. 

Solution:
surroung &quot;object = mjtNextObjectIMP ## object(mjtForeachEnumerator ## object, mjtNextObjectSEL ## object)&quot; with another pair of ()&#039;s</description>
		<content:encoded><![CDATA[<p>A bit late, but some people might run into the same problem as I did. I tried your code but it would not compile, complaining about a wrong lvalue assignment. Turns out to be the assignment in the while statement. &amp;&amp; has higher precedence then =, so the = will failt. </p>
<p>Solution:<br />
surroung "object = mjtNextObjectIMP ## object(mjtForeachEnumerator ## object, mjtNextObjectSEL ## object)" with another pair of ()'s</p>
]]></content:encoded>
	</item>
</channel>
</rss>
