<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jiramot.info &#187; mac</title>
	<atom:link href="http://www.jiramot.info/tag/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jiramot.info</link>
	<description>Developer&#039;s Life</description>
	<lastBuildDate>Mon, 06 Feb 2012 08:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Objective-C: Program Looping</title>
		<link>http://www.jiramot.info/objective-c-program-looping</link>
		<comments>http://www.jiramot.info/objective-c-program-looping#comments</comments>
		<pubDate>Wed, 01 Dec 2010 23:20:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=720</guid>
		<description><![CDATA[<p>The for statement The while statement The do-while statement</p> <p> The for Statement for ( init_expression; loop_condition; loop_expression) { program statement; }</p> <p>The while Statement while ( expression ) { program statement; } The do-while Statement do { program statement; } while ( expression ); The break Statement break; The continue Statement continue; [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>The <strong>for</strong> statement<br />
The <strong>while</strong> statement<br />
The <strong>do-while</strong> statement</p></blockquote>
<p><span id="more-720"></span><br />
<strong>The for Statement</strong><br />
<code><br />
for ( init_expression; loop_condition; loop_expression)<br />
{<br />
program statement;<br />
}</code></p>
<p><strong>The while Statement</strong><br />
<code><br />
while ( expression )<br />
{<br />
program statement;<br />
}<br />
</code><br />
<strong>The do-while Statement</strong><br />
<code><br />
do<br />
{<br />
program statement;<br />
}<br />
while ( expression );</code><br />
<code><br />
<strong>The break Statement</strong><br />
<code><br />
break;<br />
</code><br />
<strong>The continue Statement</strong><br />
<code><br />
continue;<br />
</code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/objective-c-program-looping/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Objective-C: DataType and Expressions</title>
		<link>http://www.jiramot.info/objective-c-datatype-expressions</link>
		<comments>http://www.jiramot.info/objective-c-datatype-expressions#comments</comments>
		<pubDate>Wed, 01 Dec 2010 23:10:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=716</guid>
		<description><![CDATA[Standart Types Type Description Size int An integer (whole numbers), e.g. 1, 2, 9, 1000 4 bytes (32 bits) float Floating point number, e.g. 1.2, 1.7, 5.8 4 bytes (32 bits) char A character of the local character set 1 byte (8 bits) <p></p> Derivative types Type Description Size short A short integer 2 [...]]]></description>
			<content:encoded><![CDATA[<h2>Standart Types</h2>
<table border="1">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
<th>Size</th>
</tr>
</thead>
<tr>
<td>int</td>
<td>An integer (whole numbers), e.g. 1, 2, 9, 1000</td>
<td>4 bytes (32 bits)</td>
</tr>
<tr>
<td>float</td>
<td>Floating point number, e.g. 1.2, 1.7, 5.8</td>
<td>4 bytes (32 bits)</td>
</tr>
<tr>
<td>char</td>
<td>A character of the local character set</td>
<td>1 byte (8 bits)</td>
</tr>
</table>
<p><span id="more-716"></span></p>
<h2>Derivative types</h2>
<table  border="1">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
<th>Size</th>
</tr>
</thead>
<tr>
<td>short</td>
<td>A short integer</td>
<td>2 bytes</td>
</tr>
<tr>
<td>long</td>
<td>A double short</td>
<td>4 bytes</td>
</tr>
<tr>
<td>long long</td>
<td>A double long</td>
<td>8 bytes</td>
</tr>
<tr>
<td>double</td>
<td>Double precision float</td>
<td>8 bytes</td>
</tr>
</table>
<h2>Objective-C data types</h2>
<table border="1">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>BOOL</td>
<td>Boolean type which can either be YES or NO. NO is 0, YES is non-0.</td>
<td> </td>
</tr>
<tr>
<td>id</td>
<td>An object</td>
<td>4 bytes</td>
</tr>
<tr>
<td>STR</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>IOD</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>SEL</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>IMP</td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<h1>Operators</h1>
<h2>Arithmetic operators</h2>
<table border="1">
<colgroup>
<col />
<col />
  </colgroup>
<thead>
<tr>
<th>Operator</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>+</td>
<td>Addition</td>
</tr>
<tr>
<td>-</td>
<td>Substraction</td>
</tr>
<tr>
<td>/</td>
<td>Division</td>
</tr>
<tr>
<td>*</td>
<td>Multiplication</td>
</tr>
<tr>
<td>%</td>
<td>Modulus</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2>Relational operators</h2>
<table border="1">
<colgroup>
<col />
<col />
  </colgroup>
<thead>
<tr>
<th>Operator</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>&gt;</td>
<td>Greater then</td>
</tr>
<tr>
<td>&gt;=</td>
<td>Greater then or equal to</td>
</tr>
<tr>
<td>==</td>
<td>Equal to</td>
</tr>
<tr>
<td>!=</td>
<td>Not equal to</td>
</tr>
<tr>
<td>&lt;=</td>
<td>Less then or equal to</td>
</tr>
<tr>
<td>&lt;</td>
<td>Less then</td>
</tr>
</tbody>
</table>
<h2>Logical operators</h2>
<table border="1">
<colgroup>
<col />
<col />
  </colgroup>
<thead>
<tr>
<th>Operator</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>&amp;&amp;</td>
<td>AND</td>
</tr>
<tr>
<td>||</td>
<td>OR</td>
</tr>
<tr>
<td>!</td>
<td>NOT</td>
</tr>
</tbody>
</table>
<h2>Bit operators</h2>
<table border="1">
<colgroup>
<col />
<col />
  </colgroup>
<thead>
<tr>
<th>Operator</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>&amp;</td>
<td>Bitwise AND</td>
</tr>
<tr>
<td>|</td>
<td>Bitwise Inclusive-OR</td>
</tr>
<tr>
<td>^</td>
<td>Bitwise OR (Exclusice-OR)</td>
</tr>
<tr>
<td>~</td>
<td>Ones Complement</td>
</tr>
<tr>
<td>&lt;&lt;</td>
<td>Left Shift</td>
</tr>
<tr>
<td>&gt;&gt;</td>
<td>Right Shift</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/objective-c-datatype-expressions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>มารู้จักพลาสติกกันดีกว่า</title>
		<link>http://www.jiramot.info/plastic</link>
		<comments>http://www.jiramot.info/plastic#comments</comments>
		<pubDate>Sun, 28 Nov 2010 21:21:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=710</guid>
		<description><![CDATA[<p></p> <p>พลาสติกในชีวิตประจำวัน โดย นายไพศาล นาคพิพัฒน์</p> <p>พลาสติกที่พบเห็นได้ทั่วไปในชีวิตประจำวันแบ่งออกเป็นชนิดต่างๆ  ดังนี้</p> <p>หัวข้อ</p> พอลิเอทิลีน (Polyethylene : PE) พอลิโพรไพลีน (Polypropylene : PP) พอลิไวนิลคลอไรด์ (Polyvinylchloride : PVC) พอลิไวนิลแอซีเตต (Polyvinyacetate : PVA) พอลิสไตรีน (Polystyrene: PS) พอลิอะคริเลต (Polyacrylate) พอลิคาร์บอเนต (Polycarbonate) ไนลอน (Nylon) พอลิเททระฟลูออโรเอทิลีน (Polytetrafluoroethylene : PTFE) ฟีนอลฟอร์มาลดีไฮด์ (Phenol Formaldehyde : Bakelite) เมลามีนฟอร์มาลดีไฮด์ (Melamine Formaldehyde) <p></p> <p>พอลิเอทิลีน (Polyethylene : PE)</p> <p>โดยทั่วไปแล้ว  พอลิเอทิลีน มีสีขาวขุ่นโปร่งแสง  มีความลื่นมันในตัว [...]]]></description>
			<content:encoded><![CDATA[<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} span.s1 {font: 12.0px Helvetica} span.s2 {font: 12.0px Thonburi} --></p>
<blockquote><p>พลาสติกในชีวิตประจำวัน โดย นายไพศาล นาคพิพัฒน์</p>
<p>พลาสติกที่พบเห็นได้ทั่วไปในชีวิตประจำวันแบ่งออกเป็นชนิดต่างๆ  ดังนี้</p></blockquote>
<p><strong>หัวข้อ</strong></p>
<ul>
<li>พอลิเอทิลีน (Polyethylene : PE)</li>
<li>พอลิโพรไพลีน (Polypropylene : PP)</li>
<li>พอลิไวนิลคลอไรด์ (Polyvinylchloride : PVC)</li>
<li>พอลิไวนิลแอซีเตต (Polyvinyacetate : PVA)</li>
<li>พอลิสไตรีน (Polystyrene: PS)</li>
<li>พอลิอะคริเลต (Polyacrylate)</li>
<li>พอลิคาร์บอเนต (Polycarbonate)</li>
<li>ไนลอน (Nylon)</li>
<li>พอลิเททระฟลูออโรเอทิลีน (Polytetrafluoroethylene : PTFE)</li>
<li>ฟีนอลฟอร์มาลดีไฮด์ (Phenol Formaldehyde : Bakelite)</li>
<li>เมลามีนฟอร์มาลดีไฮด์ (Melamine Formaldehyde)</li>
</ul>
<p><span id="more-710"></span></p>
<p><strong>พอลิเอทิลีน (Polyethylene : PE)</strong></p>
<p>โดยทั่วไปแล้ว  พอลิเอทิลีน มีสีขาวขุ่นโปร่งแสง  มีความลื่นมันในตัว เมื่อสัมผัสจึงรู้สึกลื่น หยุ่นตัวได้ ไม่มีกลิ่น ไม่มีรส  ไม่ติดแม่พิมพ์  มีความเหนียว  ทนความร้อนได้ไม่มากนัก แต่ทนต่อการกัดกร่อนของสารเคมี เป็นฉนวนไฟฟ้า ใส่สีผสมได้ง่ายมีความหนาแน่นต่ำกว่าน้ำจึงลอยน้ำได้  เมื่อความหนาแน่นสูงขึ้นจะทำให้มีความแข็งและความเหนียวเพิ่มขึ้น  อุณหภูมิหลอมตัวสูงขึ้น และอัตราการคายก๊าซเพิ่มขึ้น  เมื่อความหนาแน่นลดลง จะทำให้อัตราการเสื่อมสลายของผิวเพิ่มขึ้น กล่าวคือผิวจะแตกรานได้ง่ายขึ้น</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>ยืดหยุ่นได้ดี  เหนียวมากที่อุณหภูมิต่ำ</li>
<li>มีความทนทานต่อสารเคมีได้ดีมาก</li>
<li>ทนต่อสภาวะอากาศได้ดีพอสมควรอากาศสามารถซึมผ่านได้ดี</li>
<li>หดตัวแม่พิมพ์ได้ดีมาก  ทำให้ถอดจากแม่พิมพ์ได้ง่าย</li>
<li>เป็นฉนวนไฟฟ้าที่ดีมาก</li>
<li>ผสมสีได้ง่าย  ทำให้ผลิตเป็นฟิล์มใส ฟิล์มสี  ฟิล์มโปร่งแสงหรือทึบแสงได้</li>
<li>ไม่มีกลิ่น ไม่มีรส</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำด้วยพอลิเอทิลีน</strong></p>
<p>ผลิตภัณฑ์ที่สำคัญ ได้แก่  ขวดใส่สารเคมี  ขวดใส่น้ำ  ลังหรือกล่องบรรจุสินค้า  ภาชนะต่าง ๆ เครื่องเล่นของเด็ก  ถุงเย็น  ถาดทำน้ำแข็ง ชิ้นส่วนแบตเตอรี่  ชิ้นส่วนอิเล็กทรอนิกส์  ฉนวนไฟฟ้า  ถุงใส่ของแผ่นฟิล์มสำหรับห่อของโต๊ะ และเก้าอี้</p>
<p><strong>พอลิโพรไพลีน (Polypropylene : PP)</strong></p>
<p>พอลิโพรไพลีน  มีลักษณะขาวขุ่น  ทึบแสงกว่าพอลิเอทิลีน  มีความหนาแน่นในช่วง๐.๘๙๐ – ๐.๙๐๕  ด้วยเหตุนี้จึงสามารถลอยน้ำได้เช่นเดียวกันกับพอลิเอทิลีน  ลักษณะอื่น ๆ คล้ายกับพอลิเอทิลีน</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีผิวแข็ง ทนทานต่อการขีดข่วนคงตัวไม่เสียรูปง่าย</li>
<li>สามารถทำเป็นบานพับในตัว มีความทนทานมาก</li>
<li>เป็นฉนวนไฟฟ้าที่ดีมาก  แม้ที่อุณหภูมิสูง</li>
<li>ทนทานต่อสารเคมีส่วนมาก  แต่สารเคมีบางชนิดอาจทำให้พองตัว หรืออ่อนนิ่มได้</li>
<li>มีความเหนียวที่อุณหภูมิตั้งแต่ ๑๐๕  องศาฟาเรนไฮต์ไปจนถึง ๑๕ องศาฟาเรนไฮต์  (๔๐  องศาเซลเซียส  ถึง -๑๐ องศาเซลเซียส)  แต่ที่ ๐ องศาฟาเรนไฮต์ จะเปราะ</li>
<li>มีความต้านทานการซึมผ่านของไอน้ำและก๊าซได้ดี</li>
<li>สามารถทนอุณหภูมิสูงที่ใช้ในการฆ่าเชื้อ  (Sterilization  :  ๑๐๐ oC) ได้</li>
<li>ผสมสีได้ง่ายทั้งลักษณะโปร่งแสงและทึบแสง</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากพอลิโพรไพลีน</strong></p>
<p>ผลิตภัณฑ์ที่พบเสมอคือ กล่องเครื่องมือ กระเป๋า  ปกแฟ้มเอกสาร  กล่องและตลับเครื่องสำอาง เครื่องใช้ในครัวเรือนกล่องบรรจุอาหาร  อุปกรณ์ของรถยนต์อุปกรณ์อิเล็กทรอนิกส์ วัสดุบรรจุภัณฑ์ในอุตสาหกรรม  อุปกรณ์ทางการแพทย์ขวดใส่สารเคมี  กระป๋องน้ำมันเครื่องกระสอบข้าว  และถุงบรรจุปุ๋ย</p>
<p><strong>พอลิไวนิลคลอไรด์ (Polyvinylchloride : PVC)</strong></p>
<p>พอลิไวนิลคลอไรด์  เป็นพอลิเมอร์ที่สำคัญที่สุดในกลุ่มไวนิลด้วยกัน มักเรียกกันทั่วไปว่า  พีวีซี  เนื้อพีวีซีมักมีลักษณะขุ่นทึบแต่ก็สามารถผลิตออกมาให้มีสีสันได้ทุกสีเป็นฉนวนไฟฟ้าอย่างดี ตัวมันเองเป็นสารที่ทำให้ไฟดับจึงไม่ติดไฟ  มีลักษณะทั้งที่เป็นของแข็งคงรูปและอ่อนนุ่มเหนียว เรซินมีทั้งที่เป็นเม็ดแข็งหรืออ่อนนุ่ม และเป็นผงจึงสามารถนำไปใช้งานได้อย่างกว้างขวาง</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีความแข็งแรงดี  ทนทานต่อสภาวะอากาศและสิ่งแวดล้อมปกติ</li>
<li>ต้านทานต่อสารเคมีและน้ำ</li>
<li>เป็นฉนวนไฟฟ้าที่ดี</li>
<li>สามารถผสมสีและแต่งสีได้อย่างไม่จำกัด</li>
<li>สามารถเติมสารเติมแต่งต่างๆ เพื่อปรุงแต่งสมบัติของผลิตภัณฑ์ ตั้งแต่แข็ง และคงตัว จนถึงอ่อนนิ่ม และยืดหยุ่นมากๆ</li>
<li>มีสมบัติอื่นๆ กว้างขวางและสามารถสลายตัวเอง</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากพอลิไวนิลคลอไรด์</strong></p>
<p>ผลิตภัณฑ์ทั่วไป ได้แก่ หนังเทียมซึ่งมีความอ่อนนุ่มกว่าหนังแท้สำหรับหุ้มเบาะเก้าอี้  หรือปูโต๊ะ เคลือบกระดาษและผ้ากระเป๋าถือของสตรี  กระเป๋าเดินทาง  กระเป๋าใส่สตางค์  รองเท้า  เข็มขัด  หุ้มสายไฟฟ้า  สายเคเบิล  หุ้มด้ามเครื่องมือ  หุ้มลวดเหล็ก  ท่อน้ำ ท่อร้อยสายไฟฟ้า  อ่างน้ำ  ประตู  หน้าต่าง</p>
<p><strong>พอลิไวนิลแอซีเตต (Polyvinyacetate : PVA)</strong></p>
<p>เป็นพอลิเมอร์ที่มีแขนงหนาแน่น  มีลักษณะโมเลกุลแบบอะแทกติก  ไม่มีความเป็นผลึก  จึงมีลักษณะอ่อนนิ่มมากจนเป็นของเหลวข้นหนืด  สีขุ่นขาว  เมื่อแห้งจะใสเนื่องจากความอ่อนนิ่มจนมีลักษณะเป็นของเหลวข้นหนืด  จึงไม่สามารถหล่อขึ้นรูปด้วยวิธีแม่พิมพ์ใดๆ ได้</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>อ่อนนิ่ม ง่ายต่อการทำเป็นอีมัลชัน</li>
<li>อุณหภูมิของการหล่อแม่พิมพ์ต่ำ จึงไม่เหมาะที่จะหล่อขึ้นรูปด้วยแม่พิมพ์</li>
<li>ไม่มีสี  ไม่มีกลิ่น  และไม่มีรส</li>
<li>เมื่อแห้งจะมีความโปร่งใสมากขึ้น</li>
<li>มีความแข็งแรงเพิ่มขึ้น</li>
</ul>
<p><strong>การใช้งาน</strong></p>
<p>เรซินชนิดนี้ใช้ทำกาวในรูปของอีมัลชันสำหรับติดไม้ กระดาษ  ผ้า  และหนังเทียมมักเรียกกาวชนิดนี้ว่า  “กาวลาเท็กซ์” ใช้เป็นสารเหนียวในหมากฝรั่ง  ทำสี  และเคลือบหลอดไฟแว็บสำหรับถ่ายรูปในสมัยก่อน</p>
<p><strong>พอลิสไตรีน (Polystyrene: PS)</strong></p>
<p>เป็นพอลิเมอร์เก่าแก่ที่รู้จักกันมานานแล้ว  โดยทั่วไปสไตรีนพอลิเมอร์จะมีความแข็ง เปราะแตกรานได้ง่าย แต่สามารถทำให้เหนียวขึ้นได้ โดยการเติมยางสังเคราะห์ บิวทาไดอีนลงไปซึ่งเรียกว่า สไตรีนทนแรงอัดสูง  (High impact styrene)  การใช้สไตรีนเป็นโคพอลิเมอร์  (พอลิเมอร์ที่ประกอบด้วยมอนอเมอร์  ๒  ชนิด)  เพื่อปรับปรุงคุณภาพและสมบัติของพอลิเมอร์อื่นให้ดีขึ้น  เมื่อรวมตัวกับพอลิเมอร์อื่นจะทำให้มีคุณสมบัติเปลี่ยนไป เช่น  มีความเหนียวและความแข็งเพิ่มขึ้น  ทนความร้อนเพิ่มขึ้น  อุณหภูมิจุดหลอมตัวสูงขึ้น</p>
<p>พอลิสไตรีนบริสุทธิ์มีลักษณะใสคล้ายกระจก  ปัจจุบันนักวิทยาศาสตร์ได้พัฒนาเทคโนโลยีการผลิตพอลิสไตรีนให้มีคุณภาพดีขึ้น มีความเป็นผลึกใส แข็ง และขึ้นรูปได้ง่าย</p>
<p>พอลิสไตรีนเป็นพอลิเมอร์ที่มีอุณหภูมิหลอมเหลวเป็นช่วงกว้าง  ทำให้ง่ายต่อการหล่อขึ้นรูปด้วยแม่พิมพ์  สามารถเลือกตั้งอุณหภูมิและความดันของเครื่องจักรได้ง่าย  พอลิสไตรีนเป็นพอลิเมอร์ที่มีน้ำหนักเบา (ที่สุด) และมีราคาย่อมเยา</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีความแข็ง  แต่เปราะแตกรานง่ายน้ำหนักเบา ราคาถูก</li>
<li>ไม่มีสี  ไม่มีกลิ่น  มีความใส  ผิวเรียบ ใส่สีเติมแต่งได้ง่าย  และคงความโปร่งใสเช่นเดิม</li>
<li>ทนทานต่อสารเคมีทั่วไป  แต่ไม่ทนต่อสารไฮโดรคาร์บอนและตัวทำละลายอินทรีย์</li>
<li>เป็นฉนวนไฟฟ้า</li>
<li>ไม่ดูดความชื้น  เกิดไฟฟ้าสถิตได้ง่าย ทำให้ดูดฝุ่นละอองได้ดี</li>
<li>การหดตัวสูงเมื่อเย็นตัว ทำให้ถอดจากแม่พิมพ์ได้ง่าย แต่อาจเสียรูปและขนาดไปบ้าง</li>
<li>ไม่ทนต่อสภาพสิ่งแวดลอมภายนอกผิวเสื่อมสภาพเร็ว ไม่ทนต่อการถูกขีดข่วน</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากพอลิสไตรีน</strong></p>
<p>พอลิสไตรีนเรซิน  มีลักษณะเป็นเม็ด เป็นผง และเป็นของเหลว  เหมาะสำหรับการขึ้นรูปผลิตภัณฑ์ด้วยวิธีต่าง ๆ  ผลิตภัณฑ์ทั่วไป  ได้แก่  ถ้วยจาน  แก้วน้ำ  ช้อนส้อม  ที่ใช้แล้วทิ้ง  กล่องบรรจุอาหาร และผลไม้  ไม้บรรทัด อุปกรณ์อิเล็กทรอนิกส์  ของเล่น  ด้ามลูกอมขนมเด็ก  ขวดหรือกระปุกใส่ยา   เฟอร์นิเจอร์บางอย่าง  ชิ้นส่วนในตู้เย็น  โฟมกันแตกสำหรับบรรจุภัณฑ์ และฉนวนความร้อน</p>
<p><strong>พอลิอะคริเลต (Polyacrylate)</strong></p>
<p>พอลิอะคริเลต มักเรียกกันทั่วไปว่า อะคริลิก เป็นพอลิเมอร์ที่ได้จากผลิตภัณฑ์ ปิโตรเลียม สามารถผลิตได้จากมอนอเมอร์หลายชนิด พลาสติกประเภทนี้ที่เป็นพื้นฐาน ได้แก่ เมทิลเมทาคริเลต  (Methyl methacrylate)</p>
<p>พอลิอะคริเลต เป็นพลาสติกที่มีโครงสร้างเส้นสายเป็นแบบอะแทกติก (Atactic)  กล่าวคือ  โมเลกุลมีกิ่งหรือแขนงไม่แน่นอนสั้นบ้างยาวบ้าง  มีความโปร่งใสมาก  (แสงผ่านได้ประมาณร้อยละ ๙๒)  จึงเป็นวัสดุมาตรฐานที่ใช้ผลิตชิ้นส่วนรถยนต์  เช่น  เลนส์ และฝาครอบไฟท้าย</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีความโปร่งใสคล้ายกระจก</li>
<li>ทนทานต่อสภาพดินฟ้าอากาศ</li>
<li>ทนทานต่อสารเคมีหลายประเภทยกเว้นตัวทำละลายบางชนิด เช่น คลอโรฟอร์ม</li>
<li>ใส่สีให้มีสีสันได้ตามความตองการ</li>
<li>มีจุดอ่อนตัวต่ำ มีความเหนียว</li>
<li>คงรูปดีมากและทนทานต่อการขีดข่วน</li>
<li>รวมตัวกับพอลิเมอร์ชนิดอื่นได้</li>
<li>เป็นฉนวนไฟฟ้า</li>
<li>ไม่ดูดความชื้น</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากพอลิอะคริเลต</strong></p>
<p>อาจนำพอลิอะคริเลตมาใช้แทนกระจกทั้งใสและเป็นสีชา  ผลิตภัณฑ์อื่น ๆ  ได้แก่  กล่องพลาสติก  กระจกกันลมสำหรับเรือเร็วกระจกบังลมสำหรับหมวกนิรภัย  ชิ้นส่วนทางอิเล็กทรอนิกส์  เส้นใยนำแสง  (Fiberoptics) กระจกโคมไฟรถยนต์ แผ่นป้าย และป้ายโฆษณา</p>
<p><strong>พอลิคาร์บอเนต (Polycarbonate)</strong></p>
<p>พอลิคาร์บอเนต เป็นพลาสติกที่มีความโปร่งใส  และแข็งมาก  ต้านทานการขีดข่วนได้ดี  จึงมักใช้ทำผลิตภัณฑ์แทนแก้วหรือกระจก</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีความใสคล้ายกระจก</li>
<li>ผสมสีได้ง่าย</li>
<li>มีความแข็ง  เหนียว  และยึดเกาะตัวดีมาก  คงรูปดี</li>
<li>เป็นฉนวนไฟฟ้าอย่างดี</li>
<li>ทนความร้อนได้สูง  จึงใช้แทนกระจกได้เป็นอย่างดี</li>
<li>ไม่ติดไฟแต่จะทำให้ไฟดับ</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากพอลิคาร์บอเนต</strong></p>
<p>ลักษณะของเรซินมีทั้งเป็นเม็ดใส  เป็นผง และเป็นแผ่น  เหมาะสำหรับการขึ้นรูปด้วยแม่พิมพ์  เช่น  การฉีดเข้าแม่พิมพ์หรือเอกซ์ทรูชัน  ใช้ทำโคมไฟฟ้า กระจกเลนส์โคมไฟหน้าของรถยนต์  กระจกแว่นตา  ภาชนะ และขวดพลาสติก ใบพัดเรือ และชิ้นส่วนอิเล็กทรอนิกส์</p>
<p><strong>ไนลอน (Nylon)</strong></p>
<p>ไนลอนเป็นพอลิเมอร์ที่มีมานาน  คนไทยมักรู้จักไนลอนในรูปของเสื้อผ้า และเชือกไนลอน  ผลิตภัณฑ์ไนลอนที่นิยมใช้แพร่หลายมีหลายชนิด เช่น ไนลอน ๔ ไนลอน ๖,๖  ไนลอน ๖,๑๐  ไนลอน ๑๐  และไนลอน ๑๑</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีสีขาวขุ่น โปร่งแสง</li>
<li>สามารถผสมกับสีได้ดี</li>
<li>หล่อลื่นในตัวเอง</li>
<li>ทนทานต่อการกัดกร่อนของสารเคมีสารประกอบไฮโดรคาร์บอนและน้ำมัน</li>
<li>ไม่ทนทานต่อกรดเเก่</li>
<li>ดูดความชื้น ทำให้เกิดการหดและยืดตัว</li>
<li>เป็นฉนวนไฟฟ้า</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากไนลอน</strong></p>
<p>เนื่องจากไนลอนมีสมบัติที่ดีในด้านความเหนียวและมีผิวลื่น  จึงมักใช้ทำเฟืองเกียร์แทนโลหะ เพื่อลดการใช้สารหล่อลื่นทำเส้นใยที่มีเส้นละเอียดมากสำหรับทอเป็นผ้า  และผลิตเครื่องนุ่งห่ม  ลักษณะของเรซินมีทั้งที่เป็นเม็ด  แผ่น แท่ง และทออีกด้วยผลิตภัณฑ์จากไนลอนที่พบเห็นได้ทั่วไปได้แก่ เครื่องมือช่าง ฝาครอบไฟฟ้าภายในรถยนต์ อุปกรณ์ไฟฟ้า อวน แห หวี รอกและเชือกราวม่าน  เฟืองเกียร์  ลูกปืนที่ใช้ในเครื่องจักรกลทีไม่ต้องใช้น้ำมันหล่อลื่นผ้าไนลอน และใบเรือ</p>
<p><strong>พอลิเททระฟลูออโรเอทิลีน (Polytetrafluoroethylene : PTFE)</strong></p>
<p>พอลิเททระฟลูออโรเอทิลีน  (พีทีเอฟอี)  เป็นพลาสติกชนิดพิเศษที่รู้จักกันดีชนิดหนึ่ง เรียกกันโดยทั่วไปว่า “เทฟลอน”  มีคุณสมบัติดีเยี่ยมในด้านความทนทานต่อการกัดกร่อนของสารเคมี และทนความร้อนสูง  สีขาวขุ่นผิวมีความลื่นมัน  ไม่ต้องการสารหล่อลื่นเนื่องจากมีความทนทานต่อความร้อนสูงมากจึงทำให้กระบวนการขึ้นรูปเป็นผลิตภัณฑ์นั้น ต้องใช้ความร้อนสูงและมีความยุ่งยากกว่าพลาสติกชนิดอื่น</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีสีขาวขุ่น ค่อนข้างทึบแสง  ผิวเป็นมันและลื่นมาก</li>
<li>ทนทานต่อการกัดกร่อนของสารเคมีที่อุณหภูมิสูง</li>
<li>ทนความร้อนได้สูงถึง  ๓๐๐  องศาเซลเซียส</li>
<li>เป็นฉนวนไฟฟ้าที่ดี</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากพอลิเททระฟลูออโรเอทิลีน</strong></p>
<p>ลักษณะของเรซินเป็นของเหลว  เป็นเม็ดและเป็นผง  ใช้เคลือบด้ามเครื่องมือช่างเคลือบภายในหม้อและกระทะทำให้ไม่ต้องใช้น้ำมัน หุ้มสายไฟฟ้า แหวนลูกสูบของเครื่องยนต์ ลูกปืนที่ใช้ในเครื่องจักรกลที่ไม่ต้องการสารหล่อลื่น  ภาชนะและอุปกรณ์ที่ใช้ในการทดลองทางเคมี  เช่น  หลอดทดลองบีกเกอร์  นอกจากนี้ยังผสมกับน้ำมันหล่อลื่นเพื่อเพิ่มประสิทธิภาพการหล่อลื่นอีกด้วย</p>
<p><strong>ฟีนอลฟอร์มาลดีไฮด์ (Phenol Formaldehyde : Bakelite)</strong></p>
<p>ฟีนอลฟอร์มาลดีไฮด์ หรือเบกกาไลต์ เป็นพลาสติกประเภทเทอร์โมเซ็ตชนิดแรกที่รู้จักมานาน  มีสีน้ำตาลคล้ายขนมปัง  มีความแข็งและอยู่ตัว เรซินชนิดนี้มีทั้งที่เป็นของเหลวใส  เหมาะสำหรับหล่อในพิมพ์และแบบที่เป็นผงสำหรับการขึ้นรูปด้วยแม่พิมพ์ซึ่งชนิดหลังนี้มีสีน้ำตาลดำเพียงอย่างเดียว</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>เนื้อแข็งคงตัว แต่เปราะ  ทนทานต่อการผุกร่อน</li>
<li>เป็นฉนวนไฟฟ้า</li>
<li>ทนความร้อนได้สูง (๒๖๐ องศาเซลเซียส)</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากฟีนอลฟอร์มาลดีไฮด์</strong></p>
<p>ใช้ทำปลอกหุ้มคอยล์รถยนต์ แกนคอยล์ในเครื่องรับวิทยุและโทรทัศน์  เปลือกเครื่องโทรศัพท์สมัยโบราณ  ด้ามเครื่องมือช่าง หูหม้อ หูกระทะ ด้ามมีด ลูกบิลเลียด  แผงวงจรและอุปกรณ์อิเล็กทรอนิกส์  กาวสารเคลือบผิว  ตลอดจนใช้เป็นสารเติมแต่งในอุตสาหกรรมยาง</p>
<p><strong>เมลามีนฟอร์มาลดีไฮด์ (Melamine Formaldehyde)</strong></p>
<p>เมลามีนฟอร์มาลดีไฮด์เป็นพอลิเมอร์ที่ได้จากปฏิกิริยาคอนเดนเซชันของเมลามีนกับฟอร์มาลดีไฮด์  โครงสร้างเป็นโครงข่ายร่างแหหนาแน่นทั้งสามมิติที่แข็งแรงคล้ายฟีนอลฟอร์มาลดีไฮต์  มีสีขุ่นทึบ  ลักษณะของเรซินมีทั้งเป็นผงและเป็นเม็ด  เหมาะสำหรับการขึ้นรูปด้วยแม่พิมพ์</p>
<p><strong>สมบัติทั่วไป</strong></p>
<ul>
<li>มีเนื้อแข็งมาก ทนทานต่อการขีดข่วน  เหนียวไม่แตกง่าย</li>
<li>ผสมสีได้ดี</li>
<li>ทนทานต่อน้ำยาฟอกสี ผงซักฟอกน้ำมัน</li>
<li>ไม่ติดไฟ ไม่อ่อนตัวเมื่อได้รับความร้อน  แต่เมื่อถูกความร้อนสูงจะไหมเกรียม</li>
<li>เป็นฉนวนไฟฟ้า</li>
<li>ไม่ดูดความชื้น</li>
</ul>
<p><strong>ผลิตภัณฑ์ที่ทำจากเมลามีนฟอร์มาลดีไฮด์</strong></p>
<p>ใช้ทำจาน ชาม ถ้วยกาแฟ เครื่องใช้ภายในครัว  เครื่องประดับบ้าน  เครื่องผสมอาหาร สวิตช์ไฟฟ้า ขั้วไฟฟ้า ทำกาวในอุตสาหกรรมไม้อัด เคลือบไม้  ผ้าและกระดาษ</p>
<p>ที่มา <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://guru.sanook.com/search/knowledge_search.php?q=%BE%CD%C5%D4%E2%BE%C3%E4%BE%C5%D5%B9+%28Polypropylene+%3A+PP%29&amp;select=1#s5"  target="_blank">www.sanook.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/plastic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Objective-C: Classes, Objects and Methodes</title>
		<link>http://www.jiramot.info/objective-c-classes-objects-methods</link>
		<comments>http://www.jiramot.info/objective-c-classes-objects-methods#comments</comments>
		<pubDate>Sun, 28 Nov 2010 16:49:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=696</guid>
		<description><![CDATA[<p style="text-align: center;"></p> <p style="text-align: left;"> จากครั้งที่แล้วที่เริ่มต้นการใช้ xcode สำหรับการเขียน Objective C กันมาแล้ว ต่อไปจะเริ่มต้นทำความรู้จักกับ Class, Object แล้ Method เนื่องจาก Objective C เป็นภาษาในเชิงวัตถุ เราก็ต้องมาศึกษาการเขียน Object กันหน่อย จากตัวอย่างนี้เป็นเขียนโปรแกมคำนวนหาเศษส่วน(Fraction) โดยที ตั่วตั่ง (Numerator) และ ตัวหาร (Denominator) </p> <p>#import </p> <p>int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];</p> <p> int numerator = [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/RTPcfprNBIo?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RTPcfprNBIo?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p style="text-align: left;">
จากครั้งที่แล้วที่เริ่มต้นการใช้ xcode สำหรับการเขียน Objective C กันมาแล้ว ต่อไปจะเริ่มต้นทำความรู้จักกับ Class, Object แล้ Method เนื่องจาก Objective C เป็นภาษาในเชิงวัตถุ เราก็ต้องมาศึกษาการเขียน Object กันหน่อย<br />
จากตัวอย่างนี้เป็นเขียนโปรแกมคำนวนหาเศษส่วน(Fraction) โดยที ตั่วตั่ง (Numerator) และ ตัวหาร (Denominator)<br />
<span id="more-696"></span><br />
<code></p>
<p>#import <Foundation/Foundation.h></p>
<p>int main (int argc, const char * argv[]) {<br />
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];</p>
<p>	int numerator = 1;<br />
	int denominator = 3;</p>
<p>	NSLog(@"The fraction is %i/%i", numerator, denominator);</p>
<p>    [pool drain];<br />
    return 0;<br />
}<br />
</code></p>
<p>จะเห็นว่าเราจะสร้างตัวแปร numerator และ denominator </p>
<p>แต่ถ้าเมื่อเรามองการเขียนโปรแกรมในแง่ Object เราก็จะจัดกลุ่มของตัวแปร และความสามารถออกเป็นวัตถุ เช่นให้ Object นี้ชื่อว่า Fraction<br />
โดยเจ้า Fraction นี้ก็จะมีข้อมูลหลักๆเช่น ตัวตั่ง และตัวหาร และยังมีความสามารถ (Functions/Methods) เช่นการแสดงผล การทำหนดค่า<br />
คราวนี้เราจะลองเขียนโปรแกรมใหม่ด้วยแนวคิด Object Oriented</p>
<p>เริ่มจากการสร้าง Class Fraction ขึ้นมาก่อน ในตระกูลของภาษา C เราจะสร้างไฟล์ .h เพื่อเป็น interface ไว้อธิบายรายละเอียดของคลาสไว้ก่อน เช่นระบุชื่อตัวแปร เขียนชื่อเมธอดไว้ก่อน โดยไม่มีการลงรายละเอียดว่ามันทำงานอย่างไร<br />
จากนั้นจะทำการ implement interface ในไฟล์ .m สำหรับ ObjC (*สำหรับภาษา C อาจจะเป็น .c) เพื่อลงรายละเอียนส่วนของเมธอดที่เราเขียนไว้แต่ชื่อ ดังนี้</p>
<p><strong>Fraction.h</strong><br />
<code><br />
#import <Foundation/Foundation.h></p>
<p>@interface Fraction : NSObject {<br />
	int numerator;<br />
	int denominator;<br />
}<br />
-(void) print;<br />
-(void) setNumerator: (int) n;<br />
-(void) setDenominator: (int) d;<br />
-(int) numerator;<br />
-(int) denominator;<br />
@end<br />
</code></p>
<p><strong>Fraction.m</strong><br />
<code><br />
#import "Fraction.h"</p>
<p>@implementation Fraction<br />
- (void) print<br />
{<br />
	NSLog(@"The fraction is %i/%i", numerator, denominator);<br />
}<br />
- (void) setNumerator: (int) n<br />
{<br />
	numerator=n;<br />
}<br />
- (void) setDenominator: (int) d<br />
{<br />
	denominator=d;<br />
}<br />
-(int) numerator<br />
{<br />
	return numerator;<br />
}<br />
-(int) denominator<br />
{<br />
	return denominator;<br />
}<br />
@end<br />
</code></p>
<p>ส่วนใน main class ของเรา<br />
<strong>Fractions.m</strong><br />
<code><br />
#import <Foundation/Foundation.h><br />
#import "Fraction.h"</p>
<p>int main (int argc, const char * argv[]) {<br />
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];</p>
<p>//	int numerator = 1;<br />
//	int denominator = 3;<br />
//<br />
//	NSLog(@"The fraction is %i/%i", numerator, denominator);</p>
<p>	Fraction * myFraction;</p>
<p>	myFraction = [Fraction alloc];<br />
	myFraction = [myFraction init];</p>
<p>	[myFraction setNumerator:1];<br />
	[myFraction setDenominator:3];<br />
	[myFraction print];</p>
<p>	NSLog(@"Denominator %i", [myFraction denominator]);<br />
	[myFraction release];</p>
<p>    [pool drain];<br />
    return 0;<br />
}<br />
</code></p>
<p><strong>คำอธิบาย</strong><br />
<strong>The @interface section</strong><br />
<code><br />
@interface NewClassName: ParentClassName {<br />
memberDeclarations;<br />
}<br />
methodDeclarations;<br />
@end<br />
</code><br />
จะเป็นส่วนที่ประกาศ instance variable (member) และ method ไว้ก่อนโดยยังไม่ได้ทำการ implement โดยมักจะตั่งชื่อตัวแปร หรือ เมธอด ดังนี้</p>
<p><strong>Naming Convention </strong></p>
<li>instance variable และ method จะขึ้นต้นด้วยตัวเล็ก หรือไม่ก็ &#8220;_&#8221; (underscore)</li>
<li>class จะขึ้นต้นด้วยตัวใหญ่</li>
<p>และทั้งหมดมักจะใช้ <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://en.wikipedia.org/wiki/CamelCase" >CamelCase</a> ในการตั่งชื่อ</p>
<p><strong>Method</strong><br />
<code><br />
- (int) setNumerator: (int) n;<br />
</code><br />
<strong>คำอธิบายสำหรับเมธอด</strong></p>
<ul>
<li> &#8211; สำหรับ instance method คือ method สำหรับ object</li>
<li> + สำหรับ class method หรือ static method เป้น method สำหรับ class</li>
<li> (void) คือ return type</li>
<li> setNumeration คือ method name</li>
<li> : คือ method tasks argument </li>
<li> (int) คือ argument type</li>
<li> n คือ argument name</li>
</ul>
<p><strong>The @implementation section</strong><br />
<code><br />
@implementation NewClassName<br />
  methodDefinitions;<br />
@end<br />
</code></p>
<p><strong>The Program section</strong><br />
<code><br />
	Fraction * myFraction;</p>
<p>	myFraction = [Fraction alloc];<br />
	myFraction = [myFraction init];</p>
<p>	[myFraction setNumerator:1];<br />
	[myFraction setDenominator:3];<br />
	[myFraction print];</p>
<p>	NSLog(@"Denominator %i", [myFraction denominator]);<br />
	[myFraction release];<br />
</code><br />
เริ่มต้นโดยทำการประกาศตัวแปรชื่อ myFraction ส่วน * นี้คือ pointer แต่ในตอนนี้ยังไม่ต้องสนใจมันก่อน<br />
หลังจากนั้นจะทำการ allocate memory สำหรับการ Object<br />
ต่อมาก็เป็นการ initial ค่าเริ่มต้น<br />
แล้วต่อมาก็เป็นการเรียกใช้เมธอดต่างๆ เช่น setNumerator, setDenominator หรือ print<br />
แต่เมื่อสิ้นสุดการใช้ Object แล้วเราก็ควรที่จะคืน memory ให้กับระบบ ด้วยการ release</p>
<p><strong>Accessing Instance Variables and Data Encapsulation</strong><br />
สำหรับ Objective C นี้ ในส่วนของ instance variable ทั้งหมดจะโดนซ้อนเอาไว้ จึงทำให้สามารถเรียกใช้จากภายในคลาสได้โดยตรงเท่านั้น และเมื่อต้องการเรียกใช้จากภายนอกคลาส ก็ต้องทำการใช้งานผ่าน getter และ setter method นั่นเอง<br />
ในตัวอย่างนี้จะเป็นการสร้าง getter และ setter ของตัวแปร numerator<br />
<code><br />
–(int) numerator;<br />
</code></p>
<p><strong>Getter</strong><br />
<code><br />
-(int) numerator<br />
{<br />
	return numerator;<br />
}<br />
</code><br />
<strong>Setter</strong><br />
<code><br />
- (void) setNumerator: (int) n<br />
{<br />
	numerator=n;<br />
}<br />
</code><br />
<strong>เอกสารเพิ่มเติม</strong><br />
<a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/https://docs.google.com/viewer?a=v&#038;pid=explorer&#038;chrome=true&#038;srcid=0BzUpngHtdOtQMWQzYzMwMTYtYTBhNy00M2VkLTk5MDctZWNkMjI0MmJmMDA0&#038;hl=en&#038;authkey=CLeEwq4O" >ไฟล์ pdf ที่เขียนไว้ในตอนอ่านหนังสือ</a><br />
<a href="#">source code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/objective-c-classes-objects-methods/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Do I Uninstall NetBeans in Mac OS X?</title>
		<link>http://www.jiramot.info/how-do-i-uninstall-netbeans-in-mac-os-x</link>
		<comments>http://www.jiramot.info/how-do-i-uninstall-netbeans-in-mac-os-x#comments</comments>
		<pubDate>Sun, 20 Jun 2010 17:08:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=524</guid>
		<description><![CDATA[ Drag-and-drop to trash all the folders NetBeans 6.x.app, glassfish-v2.x (if installed) , glassfish-v3 (if installed), sges-v3 (if installed), apache-tomcat-x (if installed) Delete ~/.netbeans/6.x if you don`t want to save your NetBeans settings or if your IDE behaves strangely. To clear the history of the installed software on Mac OS 10.6 Snow Leopard delete [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Drag-and-drop to trash all the folders NetBeans 6.x.app, glassfish-v2.x (if installed) , glassfish-v3 (if installed), sges-v3 (if installed), apache-tomcat-x (if installed)</li>
<li>Delete ~/.netbeans/6.x if you don`t want to save your NetBeans settings or if your IDE behaves strangely.</li>
<li>To clear the history of the installed software on Mac OS 10.6 Snow Leopard delete /private/var/db/receipts/org.netbeans.*, glassfish-v3* (if installed), apache.tomcat.* (if installed)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/how-do-i-uninstall-netbeans-in-mac-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Environment and Path on OSX</title>
		<link>http://www.jiramot.info/setup-environment-and-path-on-osx</link>
		<comments>http://www.jiramot.info/setup-environment-and-path-on-osx#comments</comments>
		<pubDate>Thu, 17 Jun 2010 20:21:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=521</guid>
		<description><![CDATA[<p>Set PATH</p> <p>sudo vi /etc/paths</p> ]]></description>
			<content:encoded><![CDATA[<p>Set PATH</p>
<p>sudo vi /etc/paths</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/setup-environment-and-path-on-osx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX: Move Files Instead of Copying</title>
		<link>http://www.jiramot.info/osx-move-files</link>
		<comments>http://www.jiramot.info/osx-move-files#comments</comments>
		<pubDate>Sun, 06 Jun 2010 17:42:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=515</guid>
		<description><![CDATA[You do not have to copy and then delete when moving files on your apple box. Here is how to do it all with one command. This tutorial describes how to drag and drop to move a file from one location to another. <p>When copying files from one location to another, I have always [...]]]></description>
			<content:encoded><![CDATA[<h4>You do not have to copy and then delete when moving files on your apple box. Here is how to do it all with one command. This tutorial describes how to drag and drop to move a file from one location to another.</h4>
<p>When copying files from one location to another, I have always found it an annoying process to drag the files to one location and then go back and delete them from the original location.</p>
<p>The default drag and drop process in OS X is to COPY files.</p>
<p>We want to be able to MOVE files.</p>
<p>To MOVE a file is to actually copy files to a new location and to delete them from the original location.</p>
<p><strong>OS X will move the file if you hold the CMD key while you drag and drop.</strong></p>
<p>One caveat:</p>
<p>Something that confuses people is what happens if duplicate files are found during the move drag and drop. If you release the CMD key to answer the dialog box that appears, the file will be copied but not moved. If you continue to hold the CMD key as you click the Replace button, the move action will be completed.</p>
<p>source <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://www.tech-recipes.com/rx/2581/os_x_move_files_instead_copying/"  target="_blank">http://www.tech-recipes.com/rx/2581/os_x_move_files_instead_copying/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/osx-move-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Expose and Spaces for the Magic Mouse</title>
		<link>http://www.jiramot.info/enable-expose-and-spaces-for-the-magic-mouse</link>
		<comments>http://www.jiramot.info/enable-expose-and-spaces-for-the-magic-mouse#comments</comments>
		<pubDate>Sun, 17 Jan 2010 08:25:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=494</guid>
		<description><![CDATA[<p>download BetterTouchTool</p> ]]></description>
			<content:encoded><![CDATA[<p>download <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://blog.boastr.net/?page_id=195" >BetterTouchTool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/enable-expose-and-spaces-for-the-magic-mouse/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Java ME on Mac OS X</title>
		<link>http://www.jiramot.info/developing-java-me-on-mac-os-x</link>
		<comments>http://www.jiramot.info/developing-java-me-on-mac-os-x#comments</comments>
		<pubDate>Mon, 12 Oct 2009 01:04:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=408</guid>
		<description><![CDATA[<p>To install and setup Netbeans on Mac is no problem. Running a J2EE or J2SE application would then be fairly similar to Windows. But running J2ME has a little problem.</p> <p>To work with mobile application, one can follow the helpful Netbeans + Mobility + Mpowerplayer Guide. However, the guide did not cover how to [...]]]></description>
			<content:encoded><![CDATA[<p>To install and setup <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://www.netbeans.org/downloads/index.html" title="Netbeans" >Netbeans</a> on Mac is no problem. Running a J2EE or J2SE application would then be fairly similar to Windows. But running J2ME has a little problem.</p>
<p>To work with mobile application, one can follow the helpful <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://wiki.netbeans.org/FaqMobilityMpowerMacOs" >Netbeans + Mobility + Mpowerplayer Guide</a>. However, the guide did not cover how to add optional java package such as jsr75, which I would cover below.</p>
<p><span id="more-408"></span></p>
<p>The complete steps to set up a mobile development environment with Netbeans + J2ME Mobility Pack + Visual Designer + Mpowerplayer emulator + optional java package:</p>
<ol>
<li>Download <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://www.netbeans.org/downloads/index.html" title="Netbeans" >Netbeans</a> for Mac OS X.</li>
<li>Install either the Java SE or Web &amp; Java EE version of the IDE.</li>
<li>After installation, start the IDE and go to Tools &gt; Plugins.</li>
<li>Click the Available Plugins tab. Under Category go to Mobility.</li>
<li>Check the boxes for Visual Mobility Designer, and Mobility and click Install.</li>
<li>Download the <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://mpowerplayer.com/" >Mpowerplayer SDK</a> and install it.</li>
<li>In the NetBeans IDE main menu, choose Tools &gt; Java Platform Manager.</li>
<li>Click Add Platform. Select the folder that contains the MPowerPlayer SDK (mpp-sdk). Click Search to locate the emulator in the folder. When the IDE finds the MPowerPlayer SDK, click Next.</li>
<li>Click Finish. The IDE registers the MIDP platform. You can now build and run a MIDP 2.0 application. But the setup still lacks optional java packages.</li>
<li>Download <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://java.sun.com/products/sjwtoolkit/download.html?feed=JSC" >SUN WTK 2.5.2</a> (for Windows and Linux)</li>
<li>Unzip the .bin. For example, run the command:
<pre>$ unzip sun_java_wireless_toolkit-2_5_2-linux.bin</pre>
</li>
<li>Under /lib, copy the optional java package you need eg. jsr75, jsr 179 or even midpapi21.jar. Put them under /Applications/mpp-sdk/stubs/</li>
<li>In your project, edit project.properties and add to platform.bootclasspath the optional java package. eg.
<pre>platform.bootclasspath=${platform.home}/stubs/mmapi.jar:${platform.home}/stubs/midp-2.0.jar:${platform.home}/stubs/cldc-1.0.jar:${platform.home}/stubs/jsr75.jar</pre>
</li>
<li>Begin mobile development on Mac OS X!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/developing-java-me-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iATOS v7 on my PC</title>
		<link>http://www.jiramot.info/iatos-v7-on-my-pc</link>
		<comments>http://www.jiramot.info/iatos-v7-on-my-pc#comments</comments>
		<pubDate>Fri, 07 Aug 2009 11:04:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=376</guid>
		<description><![CDATA[<p>mainboard GA-965P-DS3 rev1 eVGA 250GTS</p> <p> Bootloader - chameleon v1 x86 Patch - DSDT ACPI -x86 ACPI -DISABLE -OHR Kernel - 9.7.0 kernel voodoo Driver VGA - NVkush Sound -voodoo HDA driver -Azalia Audio Driver PS/2 mouse/keyboard -Apple PS/2 driver -NTFS 3G Network -Marvell Yukon 88E8056 </p> <p>Patch</p> <p>ethernet: Yukon8053</p> <p> $mv AppleYukon.kext /System/Library/Extensions/ [...]]]></description>
			<content:encoded><![CDATA[<p>mainboard GA-965P-DS3 rev1<br />
eVGA 250GTS</p>
<blockquote><p>
Bootloader<br />
- chameleon v1<br />
x86 Patch<br />
- DSDT<br />
ACPI<br />
-x86 ACPI<br />
-DISABLE<br />
-OHR<br />
Kernel<br />
- 9.7.0 kernel voodoo<br />
Driver VGA<br />
- NVkush<br />
Sound<br />
-voodoo HDA driver<br />
-Azalia Audio Driver<br />
PS/2 mouse/keyboard<br />
-Apple PS/2 driver<br />
-NTFS 3G<br />
Network<br />
-Marvell Yukon 88E8056
</p></blockquote>
<p><strong>Patch</strong></p>
<p><a href="http://www.jiramot.info/download/yukon88e8053%20Folder.zip" >ethernet: Yukon8053</a></p>
<blockquote><p>
$mv AppleYukon.kext <strong>/System/Library/Extensions/</strong><br />
$sudo chmod -R 755  /System/Library/Extensions/AppleYukon.kext<br />
$sudo chown -R 0:0 /System/Library/Extensions/AppleYukon.kext<br />
$sudo kextload -v /System/Library/Extensions/AppleYukon.kext<br />
$sudo rm /System/Library/Extensions.mkext
</p></blockquote>
<p><a href="http://www.jiramot.info/download/GeForce_GTS_250.dmg" >eVGA 250GTS</a></p>
<blockquote><p>
$sudo su -<br />
$sudo mv NVinject.kext /System/Library/Extensions<br />
$chown -R 0:0 /System/Library/Extensions/NVinject.kext<br />
$chmod -R 755 /System/Library/Extensions/NVinject.kext<br />
$rm -rf /System/Library/Extensions.mkext<br />
$rm -rf /System/Library/Extensions/Caches/<br />
$rm -rf /System/Library/Caches/</p>
<blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/iatos-v7-on-my-pc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

