<?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: Coding Conventions: iVars</title>
	<atom:link href="/2011/07/13/coding-conventions-ivars/feed/" rel="self" type="application/rss+xml" />
	<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/</link>
	<description>iPhone Programming Tutorials</description>
	<lastBuildDate>Wed, 06 Aug 2014 14:59:00 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>By: Jonathan Lundell</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7136</link>
		<dc:creator><![CDATA[Jonathan Lundell]]></dc:creator>
		<pubDate>Fri, 15 Jul 2011 01:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7136</guid>
		<description><![CDATA[Why declare your ivars in @interface at all? Clients should use the property interface, and for the @implementation, the @synthesize declaration is adequate. Bonus: you don&#039;t have to worry about the @interface and @synthesize names matchingâ€”eliminate one more possibility of error.]]></description>
		<content:encoded><![CDATA[<p>Why declare your ivars in @interface at all? Clients should use the property interface, and for the @implementation, the @synthesize declaration is adequate. Bonus: you don&#8217;t have to worry about the @interface and @synthesize names matchingâ€”eliminate one more possibility of error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neil</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7132</link>
		<dc:creator><![CDATA[neil]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 11:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7132</guid>
		<description><![CDATA[You have a typo in your description of &quot;Overriding a setter&quot;. In the code you call the argument newPostName, but in your description of the code you refer to it as newPostTitle.]]></description>
		<content:encoded><![CDATA[<p>You have a typo in your description of &#8220;Overriding a setter&#8221;. In the code you call the argument newPostName, but in your description of the code you refer to it as newPostTitle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eireien</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7129</link>
		<dc:creator><![CDATA[Eireien]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 07:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7129</guid>
		<description><![CDATA[Apple suggests to avoid using accessor methods in the -init: http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html#//apple_ref/doc/uid/TP40004447-SW6]]></description>
		<content:encoded><![CDATA[<p>Apple suggests to avoid using accessor methods in the -init: <a href="http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html#//apple_ref/doc/uid/TP40004447-SW6" rel="nofollow">http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html#//apple_ref/doc/uid/TP40004447-SW6</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate Heagy</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7123</link>
		<dc:creator><![CDATA[Nate Heagy]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 19:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7123</guid>
		<description><![CDATA[There is no reason to add the data member to theÂ @interface:disqusÂ 
Â yourself. As written, you can deleteNSString *_postName;NSDate *_postDate;Author *_author;

and it will work just fine.]]></description>
		<content:encoded><![CDATA[<p>There is no reason to add the data member to theÂ @interface:disqusÂ <br />
Â yourself. As written, you can deleteNSString *_postName;NSDate *_postDate;Author *_author;</p>
<p>and it will work just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Collin</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7122</link>
		<dc:creator><![CDATA[Collin]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 19:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7122</guid>
		<description><![CDATA[This is a good point, I have never run into a problem with it, but this could cause issues. Maybe we should switch to a suffix notation as well.]]></description>
		<content:encoded><![CDATA[<p>This is a good point, I have never run into a problem with it, but this could cause issues. Maybe we should switch to a suffix notation as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Collin</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7121</link>
		<dc:creator><![CDATA[Collin]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 19:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7121</guid>
		<description><![CDATA[Added. Thansk!]]></description>
		<content:encoded><![CDATA[<p>Added. Thansk!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navX</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7120</link>
		<dc:creator><![CDATA[navX]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 19:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7120</guid>
		<description><![CDATA[And,...

Identifiers prefixed with underscores are reserved by Apple, so you don&#039;t want to prefix your variables with an underscore. That&#039;s why Google suggests using a suffix instead. FromÂ Apple&#039;s Developer Guide:
Avoid the use of the underscore character as a prefix meaning private, especially in methods.Apple reserves the use of this convention. Use by third parties could result in name-space collisions; they might unwittingly override an existing private method with one of their own, with disastrous consequences. See â€œPrivate Methodsâ€ for suggestions on conventions to follow for private API.

,... so in your code might create conflicts with Cocoa...

I like the idea, but unfortunately can&#039;t use it for big projects.]]></description>
		<content:encoded><![CDATA[<p>And,&#8230;</p>
<p>Identifiers prefixed with underscores are reserved by Apple, so you don&#8217;t want to prefix your variables with an underscore. That&#8217;s why Google suggests using a suffix instead. FromÂ Apple&#8217;s Developer Guide:<br />
Avoid the use of the underscore character as a prefix meaning private, especially in methods.Apple reserves the use of this convention. Use by third parties could result in name-space collisions; they might unwittingly override an existing private method with one of their own, with disastrous consequences. See â€œPrivate Methodsâ€ for suggestions on conventions to follow for private API.</p>
<p>,&#8230; so in your code might create conflicts with Cocoa&#8230;</p>
<p>I like the idea, but unfortunately can&#8217;t use it for big projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navX</title>
		<link>http://icodeblog.com/2011/07/13/coding-conventions-ivars/#comment-7119</link>
		<dc:creator><![CDATA[navX]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 18:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=3227#comment-7119</guid>
		<description><![CDATA[it needsÂ deallocÂ inÂ @implementation to be safe about memory management. ]]></description>
		<content:encoded><![CDATA[<p>it needsÂ deallocÂ inÂ @implementation to be safe about memory management. </p>
]]></content:encoded>
	</item>
</channel>
</rss>
