<?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: Creating a Calculator Class</title>
	<atom:link href="http://www.convalesco.org/2006/11/20/creating-a-calculator-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.convalesco.org/2006/11/20/creating-a-calculator-class/</link>
	<description>Growing stronger every day!</description>
	<pubDate>Tue, 06 Jan 2009 14:44:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bobbyRicky</title>
		<link>http://www.convalesco.org/2006/11/20/creating-a-calculator-class/comment-page-1/#comment-313</link>
		<dc:creator>bobbyRicky</dc:creator>
		<pubDate>Thu, 22 Feb 2007 08:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://atma.wordpress.com/2006/11/20/creating-a-calculator-class/#comment-313</guid>
		<description>beautiful online information center. greatest work thanks</description>
		<content:encoded><![CDATA[<p>beautiful online information center. greatest work thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atma</title>
		<link>http://www.convalesco.org/2006/11/20/creating-a-calculator-class/comment-page-1/#comment-312</link>
		<dc:creator>atma</dc:creator>
		<pubDate>Fri, 24 Nov 2006 14:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://atma.wordpress.com/2006/11/20/creating-a-calculator-class/#comment-312</guid>
		<description>I didn't knew the differences thank you for the enlightment :-) I'll keep that in mind. For now I do mostly exercises that the book shows.

I'm dealing with general purpose concepts. However the main idea is to be able to write cocoa applications sooner of later.. so your tips are very useful.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t knew the differences thank you for the enlightment <img src='http://www.convalesco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> I&#8217;ll keep that in mind. For now I do mostly exercises that the book shows.</p>
<p>I&#8217;m dealing with general purpose concepts. However the main idea is to be able to write cocoa applications sooner of later.. so your tips are very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cosmix</title>
		<link>http://www.convalesco.org/2006/11/20/creating-a-calculator-class/comment-page-1/#comment-311</link>
		<dc:creator>cosmix</dc:creator>
		<pubDate>Fri, 24 Nov 2006 13:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://atma.wordpress.com/2006/11/20/creating-a-calculator-class/#comment-311</guid>
		<description>Ah, you were using 'pure' Objective-C. Apologies, I was referring to Cocoa (or at least Foundation). You see, even with simple command line tools, it's a good idea to leverage the features provided by the Foundation classes.

You won't find release and dealloc in the 'pure' objc runtime, as they are part of NSObject. At some point you will essentially be forced to import at least Foundation to do any sort of meaningful work. I'd suggest you spend some time familiarising yourself with NSObject, as opposed to the pure ObjC 'Object' as you probably won't be using the latter too much.</description>
		<content:encoded><![CDATA[<p>Ah, you were using &#8216;pure&#8217; Objective-C. Apologies, I was referring to Cocoa (or at least Foundation). You see, even with simple command line tools, it&#8217;s a good idea to leverage the features provided by the Foundation classes.</p>
<p>You won&#8217;t find release and dealloc in the &#8216;pure&#8217; objc runtime, as they are part of NSObject. At some point you will essentially be forced to import at least Foundation to do any sort of meaningful work. I&#8217;d suggest you spend some time familiarising yourself with NSObject, as opposed to the pure ObjC &#8216;Object&#8217; as you probably won&#8217;t be using the latter too much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atma</title>
		<link>http://www.convalesco.org/2006/11/20/creating-a-calculator-class/comment-page-1/#comment-310</link>
		<dc:creator>atma</dc:creator>
		<pubDate>Fri, 24 Nov 2006 11:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://atma.wordpress.com/2006/11/20/creating-a-calculator-class/#comment-310</guid>
		<description>Hello there Cosmix!

Actually the #import was &lt;i&gt;naked&lt;/i&gt; because completelly missing html tags, I didn't notice that the &#60; and &#62; characters needed special html tags to be displayed.

Now compiles at least via command line:
&lt;blockquote&gt;
OSX atma ~ $ file calculator.m
calculator.m: ASCII C program text
OSX atma ~ $ gcc calculator.m -o calculator -l objc
OSX atma ~ $ ./calculator
The result is 50
OSX atma ~ $
&lt;/blockquote&gt;

As for [calc free], I've read in the manual that it's the &lt;i&gt;a way to release the allocated &#38; initialized memory&lt;/i&gt;. I didn't knew that there is another way to do it and I don't have a clue about the differences. I'll try out the [object release]; method asap!

Thnx for the tips :-)</description>
		<content:encoded><![CDATA[<p>Hello there Cosmix!</p>
<p>Actually the #import was <i>naked</i> because completelly missing html tags, I didn&#8217;t notice that the &lt; and &gt; characters needed special html tags to be displayed.</p>
<p>Now compiles at least via command line:</p>
<blockquote><p>
OSX atma ~ $ file calculator.m<br />
calculator.m: ASCII C program text<br />
OSX atma ~ $ gcc calculator.m -o calculator -l objc<br />
OSX atma ~ $ ./calculator<br />
The result is 50<br />
OSX atma ~ $
</p></blockquote>
<p>As for [calc free], I&#8217;ve read in the manual that it&#8217;s the <i>a way to release the allocated &amp; initialized memory</i>. I didn&#8217;t knew that there is another way to do it and I don&#8217;t have a clue about the differences. I&#8217;ll try out the [object release]; method asap!</p>
<p>Thnx for the tips <img src='http://www.convalesco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cosmix</title>
		<link>http://www.convalesco.org/2006/11/20/creating-a-calculator-class/comment-page-1/#comment-309</link>
		<dc:creator>cosmix</dc:creator>
		<pubDate>Thu, 23 Nov 2006 21:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://atma.wordpress.com/2006/11/20/creating-a-calculator-class/#comment-309</guid>
		<description>Hmmm. I don't think what you have there actually compiles, let alone runs without errors, at least on Apple's implementation of Objective-C. What kind of compiler/libraries did you use for this? And for which version of Objective-C?

For starters while you're extending &lt;code&gt;Object&lt;/code&gt;. NextStep/Cocoa defines &lt;code&gt;NSObject&lt;/code&gt;. Then you do &lt;code&gt;[calc free]&lt;/code&gt;. The correct way to release an object is by &lt;code&gt;[object release]&lt;/code&gt;, or --- this is &lt;strong&gt;not&lt;/strong&gt; recommended --- [object dealloc]. Perhaps you were thinking of C?

Good to see more people coding in Objective-C. Good luck.</description>
		<content:encoded><![CDATA[<p>Hmmm. I don&#8217;t think what you have there actually compiles, let alone runs without errors, at least on Apple&#8217;s implementation of Objective-C. What kind of compiler/libraries did you use for this? And for which version of Objective-C?</p>
<p>For starters while you&#8217;re extending <code>Object</code>. NextStep/Cocoa defines <code>NSObject</code>. Then you do <code>[calc free]</code>. The correct way to release an object is by <code>[object release]</code>, or &#8212; this is <strong>not</strong> recommended &#8212; [object dealloc]. Perhaps you were thinking of C?</p>
<p>Good to see more people coding in Objective-C. Good luck.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
