<?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: iPhone development notes</title>
	<atom:link href="http://www.labcoding.com/generic/iphone-development-notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.labcoding.com/generic/iphone-development-notes/</link>
	<description>Creative laboratory: researching, testing, creating and explaining!</description>
	<lastBuildDate>Tue, 08 Feb 2011 05:39:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: David Phillip Oster</title>
		<link>http://www.labcoding.com/generic/iphone-development-notes/comment-page-1/#comment-818</link>
		<dc:creator>David Phillip Oster</dc:creator>
		<pubDate>Fri, 26 Mar 2010 21:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/?p=250#comment-818</guid>
		<description>(1) is your bug: you are trying to use == on strings, (which is pointer equality) when you mean [aS isEqual:bS];  (but beware: [nil isEqual:nil] returns NO.) you point that out yourself as point (9)


(4) should be:float F = ((float)x) / y; since in C, C++, Objective-C and Objective-C++ division of integers produces an integer result.

(5) class member names starting with &#039;_&#039; are reserved fro Apple. Don&#039;t name yours that way.

(10) iPhone apps should never call exit(). Let the user do it, instead, in your application delegate, implement -(void)applicationWillTerminate: and do the synchronize there.</description>
		<content:encoded><![CDATA[<p>(1) is your bug: you are trying to use == on strings, (which is pointer equality) when you mean [aS isEqual:bS];  (but beware: [nil isEqual:nil] returns NO.) you point that out yourself as point (9)</p>
<p>(4) should be:float F = ((float)x) / y; since in C, C++, Objective-C and Objective-C++ division of integers produces an integer result.</p>
<p>(5) class member names starting with &#8216;_&#8217; are reserved fro Apple. Don&#8217;t name yours that way.</p>
<p>(10) iPhone apps should never call exit(). Let the user do it, instead, in your application delegate, implement -(void)applicationWillTerminate: and do the synchronize there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MattjDrake</title>
		<link>http://www.labcoding.com/generic/iphone-development-notes/comment-page-1/#comment-794</link>
		<dc:creator>MattjDrake</dc:creator>
		<pubDate>Thu, 30 Apr 2009 19:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.labcoding.com/?p=250#comment-794</guid>
		<description>Great information - I didn&#039;t realize that NSLog slowed things down so much. Wish there was a way to leave them in there but globally turn them off.</description>
		<content:encoded><![CDATA[<p>Great information &#8211; I didn&#8217;t realize that NSLog slowed things down so much. Wish there was a way to leave them in there but globally turn them off.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

