<?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 for Macfeteria</title>
	<atom:link href="http://www.macfeteria.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.macfeteria.com</link>
	<description>All About Mac and iPhone Programming</description>
	<lastBuildDate>Thu, 22 Mar 2012 02:52:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>Comment on Introduction to Cocoa by thong</title>
		<link>http://www.macfeteria.com/blog/2008/07/25/introduction-to-cocoa/comment-page-1/#comment-252</link>
		<dc:creator>thong</dc:creator>
		<pubDate>Thu, 22 Mar 2012 02:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.macfeteria.com/?p=140#comment-252</guid>
		<description>ขอบคุณครับ</description>
		<content:encoded><![CDATA[<p>ขอบคุณครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhone Programming &#8211; Road map by oyatsumin</title>
		<link>http://www.macfeteria.com/blog/2008/04/23/iphone-programming-road-map/comment-page-1/#comment-251</link>
		<dc:creator>oyatsumin</dc:creator>
		<pubDate>Thu, 15 Mar 2012 13:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://maccafe.wordpress.com/?p=56#comment-251</guid>
		<description>ขอบคุณมากๆ ครับพี่ :D</description>
		<content:encoded><![CDATA[<p>ขอบคุณมากๆ ครับพี่ <img src='http://www.macfeteria.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Foundation Framework III &#8211; Array part. 1 by kantae</title>
		<link>http://www.macfeteria.com/blog/2008/03/31/foundation-framework-iii/comment-page-1/#comment-250</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Tue, 21 Feb 2012 05:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://maccafe.wordpress.com/?p=34#comment-250</guid>
		<description>NSMutableArray *seasonName = [NSMutableArray arrayWithCapacity:4];

จองไว้ 4

ผลลอง addObject ไป 6 ครั้ง ทำไมยัง add ได้อยู่ครับ งงมาก</description>
		<content:encoded><![CDATA[<p>NSMutableArray *seasonName = [NSMutableArray arrayWithCapacity:4];</p>
<p>จองไว้ 4</p>
<p>ผลลอง addObject ไป 6 ครั้ง ทำไมยัง add ได้อยู่ครับ งงมาก</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cocoa Programming IV : Array Controller by kantae</title>
		<link>http://www.macfeteria.com/blog/2009/02/27/cocoa-programming-iv-array-controller/comment-page-1/#comment-249</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Mon, 20 Feb 2012 20:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.macfeteria.com/?p=670#comment-249</guid>
		<description>StudentData.m
ในไฟล์ StudentData.m ขาด self = [super init]; รึเปล่าครับ

@implementation StudentData
@synthesize m_name;
@synthesize m_score;
-(id) init
{
	[super init];      //&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; นี่ครับ
	m_name = @&quot;No Name&quot;;
	m_score = 0;
	return self;
}
 
-(void) dealloc
{
	[m_name release];
	[super dealloc];
}
@end</description>
		<content:encoded><![CDATA[<p>StudentData.m<br />
ในไฟล์ StudentData.m ขาด self = [super init]; รึเปล่าครับ</p>
<p>@implementation StudentData<br />
@synthesize m_name;<br />
@synthesize m_score;<br />
-(id) init<br />
{<br />
	[super init];      //&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; นี่ครับ<br />
	m_name = @&quot;No Name&quot;;<br />
	m_score = 0;<br />
	return self;<br />
}</p>
<p>-(void) dealloc<br />
{<br />
	[m_name release];<br />
	[super dealloc];<br />
}<br />
@end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introduction to Cocoa by yorku199</title>
		<link>http://www.macfeteria.com/blog/2008/07/25/introduction-to-cocoa/comment-page-1/#comment-248</link>
		<dc:creator>yorku199</dc:creator>
		<pubDate>Mon, 07 Nov 2011 07:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.macfeteria.com/?p=140#comment-248</guid>
		<description>ขอบคุณครับ</description>
		<content:encoded><![CDATA[<p>ขอบคุณครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Objective-C Programming Part IV by kantae</title>
		<link>http://www.macfeteria.com/blog/2008/03/09/objective-c-programming-part-iv/comment-page-1/#comment-247</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Sat, 17 Sep 2011 15:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://maccafe.wordpress.com/?p=20#comment-247</guid>
		<description>code แรก ประกาศ
@interface Children
แต่เวลาใช้ทำไม ใช้ ChildClass*
ChildClass* child = [[ChildClass alloc] init:12];
ตรงนี้ถูกหรือผิด  หรือเปล่าครับ</description>
		<content:encoded><![CDATA[<p>code แรก ประกาศ<br />
@interface Children<br />
แต่เวลาใช้ทำไม ใช้ ChildClass*<br />
ChildClass* child = [[ChildClass alloc] init:12];<br />
ตรงนี้ถูกหรือผิด  หรือเปล่าครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Objective-C Programming Part III. by kantae</title>
		<link>http://www.macfeteria.com/blog/2008/03/03/objective-c-programming-part-iii/comment-page-1/#comment-246</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Sat, 17 Sep 2011 14:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://maccafe.wordpress.com/?p=15#comment-246</guid>
		<description>&quot;ส่วน init เป็น Function สืบทอดมาจาก NSObject ใช่แล้วครับ&quot;
คือ ตอนที่ผมสรา้ง class ใหม่ใน xcode ให้เป็น child class ทีนี้ มันมี method 
- (id)init
{
    self = [super init];
    if (self) {
        // Initialization code here.
    }
    
    return self;
}
ผมสามารถลบมันทิ้งได้มั้ยครับ เพราะว่ายังไงมันก็สืบทอดมาแล้ว ไม่ต้องเขียนก็ได้</description>
		<content:encoded><![CDATA[<p>&#8220;ส่วน init เป็น Function สืบทอดมาจาก NSObject ใช่แล้วครับ&#8221;<br />
คือ ตอนที่ผมสรา้ง class ใหม่ใน xcode ให้เป็น child class ทีนี้ มันมี method<br />
- (id)init<br />
{<br />
    self = [super init];<br />
    if (self) {<br />
        // Initialization code here.<br />
    }</p>
<p>    return self;<br />
}<br />
ผมสามารถลบมันทิ้งได้มั้ยครับ เพราะว่ายังไงมันก็สืบทอดมาแล้ว ไม่ต้องเขียนก็ได้</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Objective-C Programming Part II. by kantae</title>
		<link>http://www.macfeteria.com/blog/2008/02/23/objective-c-programming-part-ii/comment-page-1/#comment-245</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Sat, 17 Sep 2011 14:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://maccafe.wordpress.com/?p=7#comment-245</guid>
		<description>ถ้าผมลืม release มันจะค้างในหน่วยความจำจนถึงตอนไหน
และสงผลกับโปรแกรมร้ายแรงไหมครับ</description>
		<content:encoded><![CDATA[<p>ถ้าผมลืม release มันจะค้างในหน่วยความจำจนถึงตอนไหน<br />
และสงผลกับโปรแกรมร้ายแรงไหมครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Objective-C 2.0 Programming : Property by kantae</title>
		<link>http://www.macfeteria.com/blog/2008/10/22/objective-c-programming-property/comment-page-1/#comment-244</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Sat, 17 Sep 2011 14:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.macfeteria.com/?p=414#comment-244</guid>
		<description>ยกมาจากตัวอย่าง สมมติเราให้
@property(assign) NSString * synthesizeValue;

แล้วมา
- (void)setdynamicValue:(NSString *)newValue
{
    	if (newValue != dynamicValue)
	{
        		dynamicValue = [newValue copy];
    	}
}
แบบนี้มันคือการ override หรือเปล่าครับ

เพราะผมเข้าใจว่าถ้าเราประกาศ
@property(assign) NSString * synthesizeValue;
ก็ไม่จำเป็นต้องใส่รายละเอียดใน @implementation
ให้ใช้งานได้เลย</description>
		<content:encoded><![CDATA[<p>ยกมาจากตัวอย่าง สมมติเราให้<br />
@property(assign) NSString * synthesizeValue;</p>
<p>แล้วมา<br />
- (void)setdynamicValue:(NSString *)newValue<br />
{<br />
    	if (newValue != dynamicValue)<br />
	{<br />
        		dynamicValue = [newValue copy];<br />
    	}<br />
}<br />
แบบนี้มันคือการ override หรือเปล่าครับ</p>
<p>เพราะผมเข้าใจว่าถ้าเราประกาศ<br />
@property(assign) NSString * synthesizeValue;<br />
ก็ไม่จำเป็นต้องใส่รายละเอียดใน @implementation<br />
ให้ใช้งานได้เลย</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XCode Tip for dummies by kantae</title>
		<link>http://www.macfeteria.com/blog/2009/10/16/xcode-tip-for-dummies/comment-page-1/#comment-243</link>
		<dc:creator>kantae</dc:creator>
		<pubDate>Mon, 15 Aug 2011 20:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.macfeteria.com/?p=1164#comment-243</guid>
		<description>มีวิธี เอา app ที่เราเขียนเสร็จ ลง iphone ไหมครับ</description>
		<content:encoded><![CDATA[<p>มีวิธี เอา app ที่เราเขียนเสร็จ ลง iphone ไหมครับ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

