<?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 “Retain” Trap</title>
	<atom:link href="http://www.totodotnet.net/2009/04/16/a-retain-trap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.totodotnet.net/2009/04/16/a-retain-trap/</link>
	<description>Life is like a box of chocolates...</description>
	<lastBuildDate>Wed, 01 Feb 2012 03:08:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tonny.xu</title>
		<link>http://www.totodotnet.net/2009/04/16/a-retain-trap/comment-page-1/#comment-21736</link>
		<dc:creator>tonny.xu</dc:creator>
		<pubDate>Fri, 29 May 2009 07:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.totodotnet.net/2009/04/16/a-retain-trap/#comment-21736</guid>
		<description>Oh, yes, you are right. If you specified a property and used the &quot;retain&quot; property, the system will do it for you, but if you don&#039;t want to expose this variable by property, maybe using manual retain is a necessary choice.

Later, I found some comments in UICatalog example, the author also used manual retain.</description>
		<content:encoded><![CDATA[<p>Oh, yes, you are right. If you specified a property and used the &#8220;retain&#8221; property, the system will do it for you, but if you don&#8217;t want to expose this variable by property, maybe using manual retain is a necessary choice.</p>
<p>Later, I found some comments in UICatalog example, the author also used manual retain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digdog</title>
		<link>http://www.totodotnet.net/2009/04/16/a-retain-trap/comment-page-1/#comment-21663</link>
		<dc:creator>digdog</dc:creator>
		<pubDate>Mon, 25 May 2009 08:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.totodotnet.net/2009/04/16/a-retain-trap/#comment-21663</guid>
		<description>If you are using:

self.myButton = [UIButton buttonWithType:UIButtonTypeCustom];

or

[self setMyButton:[UIButton buttonWithType:UIButtonTypeCustom]];

then system will do the retain for you.</description>
		<content:encoded><![CDATA[<p>If you are using:</p>
<p>self.myButton = [UIButton buttonWithType:UIButtonTypeCustom];</p>
<p>or</p>
<p>[self setMyButton:[UIButton buttonWithType:UIButtonTypeCustom]];</p>
<p>then system will do the retain for you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

