<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7779937440266840180</id><updated>2024-09-27T22:24:21.132-07:00</updated><title type='text'>การเขียน App iphone ipad</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-5084727118730247803</id><published>2012-11-21T01:27:00.001-08:00</published><updated>2012-11-21T01:27:13.844-08:00</updated><title type='text'>XCode 4 Tutorial Playing Videos</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;webs-bin&quot; id=&quot;webs-bin-5005590f0cf297facf583fe7&quot; style=&quot;background-color: white; border: 0px; color: #535353; font: inherit; line-height: 16px; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-bin-wrap&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-container webs-module-title  w-title-default&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;h3 class=&quot;webs-title webs-title-align-left &quot; style=&quot;border: 0px; color: #0374ff; font: inherit; line-height: normal; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Playing Videos&lt;/div&gt;
&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;webs-parent webs-parent-2 webs-row&quot; style=&quot;background-color: white; border: 0px; color: #535353; font: inherit; line-height: 16px; margin: 0px; overflow: visible; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-parent webs-parent-3 webs-col&quot; style=&quot;border: 0px; float: left; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; width: 214px;&quot;&gt;
&lt;div class=&quot;webs-bin&quot; id=&quot;webs-bin-50292ec00cf2a82e0eba1d06&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-bin-wrap&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-container webs-module-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-text&quot; data-placeholder=&quot;Click here to edit text&quot; style=&quot;border: 0px; font: inherit; line-height: 20px; margin: 0px; min-height: 21px; padding: 0px; text-shadow: rgba(255, 255, 255, 0.792969) 0px 1px 1px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
In this tutorial i will be showing you how to play video files in your apps&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
Features:&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font: inherit; list-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1 Round Rect Button&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1 Video Files&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
Playing videos in your application can give so much more information than a standard pages of text take youtube for example users are able to share and express information in a way a&amp;nbsp;written&amp;nbsp;page cannot&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;webs-bin&quot; id=&quot;webs-bin-50292f840cf2a82e0eba1d56&quot; style=&quot;border: 0px; font: inherit; line-height: 16px; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-bin-wrap&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-container webs-module-title  w-title-default&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;h3 class=&quot;webs-title webs-title-align-left &quot; style=&quot;border: 0px; color: #0374ff; font: inherit; line-height: normal; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;webs-bin&quot; id=&quot;webs-bin-50292f7f0cf2a82e0eba1d52&quot; style=&quot;border: 0px; color: #535353; font: inherit; line-height: 16px; margin: 0px; padding: 0px; position: relative; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-bin-wrap&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-container webs-module-title  w-title-default&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;h3 class=&quot;webs-title webs-title-align-left &quot; style=&quot;border: 0px; color: #0374ff; font: inherit; line-height: normal; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
ViewController.h&lt;/div&gt;
&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;webs-parent webs-parent-2 webs-row&quot; style=&quot;border: 0px; color: #535353; font: inherit; line-height: 16px; margin: 0px; overflow: visible; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-parent webs-parent-3 webs-col&quot; style=&quot;border: 0px; float: left; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; width: 325px;&quot;&gt;
&lt;div class=&quot;webs-bin&quot; id=&quot;webs-bin-50292f810cf2a82e0eba1d54&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-bin-wrap&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-container webs-module-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-text&quot; data-placeholder=&quot;Click here to edit text&quot; style=&quot;border: 0px; font: inherit; line-height: 20px; margin: 0px; min-height: 21px; padding: 0px; text-shadow: rgba(255, 255, 255, 0.792969) 0px 1px 1px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;#import&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;&amp;lt;MediaPlayer/MediaPlayer.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
@interface ViewController&amp;nbsp;:UIViewController {&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;-(&lt;/span&gt;&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;IBAction&lt;/span&gt;&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;)playvideo;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
@end&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;w-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
ViewController.m&lt;/div&gt;
&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;webs-bin&quot; id=&quot;webs-bin-50292f860cf2a82e0eba1d58&quot; style=&quot;border: 0px; font: inherit; line-height: 16px; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-bin-wrap&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-container webs-module-text &quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;webs-text&quot; data-placeholder=&quot;Click here to edit text&quot; style=&quot;border: 0px; font: inherit; line-height: 20px; margin: 0px; min-height: 21px; padding: 0px; text-shadow: rgba(255, 255, 255, 0.792969) 0px 1px 1px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;@implementation ViewController&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
-(IBAction)playvideo {&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; pathForResource:@&quot;Video1&quot; ofType:@&quot;mp4&quot;]];&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
MPMoviePlayerViewController *playercontroller = [[MPMoviePlayerViewController alloc]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; initWithContentURL:url];&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; [self presentMoviePlayerViewControllerAnimated:playercontroller];&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; playercontroller.moviePlayer.movieSourceType = MPMovieSourceTypeFile;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; [playercontroller.moviePlayer play];&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; [playercontroller release];&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; playercontroller = nil;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 10px; padding: 0px; vertical-align: baseline;&quot;&gt;
}&lt;/div&gt;
&lt;span style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;@end&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/5084727118730247803/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/11/xcode-4-tutorial-playing-videos.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/5084727118730247803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/5084727118730247803'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/11/xcode-4-tutorial-playing-videos.html' title='XCode 4 Tutorial Playing Videos'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-8443858151010665499</id><published>2012-11-09T18:43:00.004-08:00</published><updated>2012-11-09T18:43:46.376-08:00</updated><title type='text'>iPhone Programming – Begin</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; margin: 0px; padding: 0px;&quot;&gt;บทความนี้เขียนโดยสมมติว่าคุณรู้เรื่อง Cocoa มาบ้าง&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;เอาละ ไหนๆ ก็รับปากว่าจะเขียน iPhone Tutorial ไปแล้ว จะเบี้ยวก็กะไร ก่อนอื่นก็บอกก่อนว่า โปรแกรมแรกที่เราจะเขียนนั้นคือ โปรแกรม นับจำนวนตัวอักษร ( คุ้นๆม่ะ ) มันก็โปรแกรม แรกที่ได้เขียน cocoa นั่นเหละ แต่วันนี้เราจะมาลองเขียนสำหรับ iPhone กัน ต้องขอออกตัวก่อนเลยนะครับว่า นี่เป็นการเขียน แบบทดลองเขียน สำหรับตัวผมเองก็เพิ่งจะเริ่มศึกษาเหมือนกัน แต่คิดว่า มันน่าจะเป็น Tutorial ทำให้คนที่ยังไม่รู้จะเริ่มยังไง พอจะจับทิศทางได้ว่า จะศึกษาอะไรก่อน&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;เอาละก่อนอื่น สำหรับคนที่ไม่รู้เรื่อง Cocoa มาก่อนแนะนำว่า ควรไปศึกษามาก่อน&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;เพื่อเป็นการไม่เสียเวลา มาเริ่มกันเลย&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;First Step&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก่อนอื่นก็เปิดโปรแกรม XCode ขึ้นมาแล้วก็สร้างโปรเจค Cocoa Touch Application ดังรูป&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/new-project.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-380 aligncenter&quot; height=&quot;244&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/new-project-300x244.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;new-project&quot; width=&quot;300&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก็เหมือนๆกับ สร้าง Cocoa Application นั่นเหละครับ โดยในตัวอย่างผมตั้งชื่อว่า iPhoneStringCount&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;หลังจากนั้นก็จะเห็น File หลายๆไฟล์ ก็จะแบ่งออกง่ายๆ เป็น&lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin: 0px; outline: 0px; padding: 5px 0px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/numContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;iPhoneStringCountAppDelegate&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/numContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;iPhoneStringCountViewController&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;และก็จะเห็นว่ามี xib &amp;nbsp;ไฟล์ 2 Files นั่นคือ&lt;/span&gt;&lt;/div&gt;
&lt;ol style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin: 0px; outline: 0px; padding: 5px 0px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/numContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;MainMenu.xib และ&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/numContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;iPhoneStringCountViewController.xib&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/file.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-381 aligncenter&quot; height=&quot;300&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/file-253x300.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;file&quot; width=&quot;253&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;คำถามคือว่า 2 xib นี้มันต่างกันยังไง ?&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;ก็ง่ายๆเลยครับคือว่า MainMenu.xib ก็คือ ตัวหลักของ interface หลักของโปรแกรม เป็นตัวจัดการ view ย่อยๆที่อยู่ในโปรแกรมของเรา ถ้าเปิดมาดูจะเห็น Object ต่างๆในรูป&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/mainxib.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-394 aligncenter&quot; height=&quot;148&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/mainxib-300x148.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;mainxib&quot; width=&quot;300&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ซึ่งจะเห็นว่ามี&amp;nbsp;UIViewController ที่ชื่อว่า “iPhone String Count View Controller” ก็สรุปว่า MainMenu.xib &amp;nbsp;นี้ก็ไม่ต้องไปแก้ไขอะไร&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;สิ่งที่เราจะออกแบบก็คือ view ย่อยๆนั่นเอง ซึ่งในโปรเจคนี้ก็คือ&amp;nbsp;iPhoneStringCountViewController.xib ก็เปิดไฟล์นี้ขึ้นมา ก็จะเห็นหน้าตา interface builder แบบนี้&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/iphoneviewxib.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-382 aligncenter&quot; height=&quot;243&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/iphoneviewxib-300x243.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;iphoneviewxib&quot; width=&quot;300&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;หลังจากนั้นก็ออกแบบหน้าตาโปรแกรมกัน โดย double click ไปที่ view หลังจากนั้นก็ละเลง โดยหน้าตาของโปรแกรมเราก็ไม่ได้มีอะไรมาก interface ประกอบไปด้วย&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; list-style: none; margin: 10px 0px; outline: 0px; padding: 10px 0px 10px 25px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;UITextField เพื่อเป็นส่วนของ input&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;UILable เป็นส่วน output ของโปรแกรม&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;และปุ่ม UIButton อีก 1 ปุ่ม&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;และแล้วหน้าตาของโปรแกรม ก็จะออกมาแบบนี้&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #a9a393; font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/interface.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; color: #8f7a2f; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-383 aligncenter&quot; height=&quot;300&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/interface-191x300.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;interface&quot; width=&quot;191&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;AppController Class&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ถ้ายังพอจะจำ Cocoa Programming ได้จะเห็นว่าเกือบจะทุกครั้ง เราจะทำการ สร้าง Class ที่ชื่อว่า AppController เพื่อเอาไว้จัดการ interface โดยเราจะประกาศ member ที่เป็น outlet ไว้ที่ class นี้ &amp;nbsp;แต่ครั้งนี้เราไม่ต้องเพิ่ม AppController เข้าไปเพราะว่า เราได้มี Class ที่ทำหน้าที่เหมือน AppController อยู่แล้ว นั่นก็คือ&amp;nbsp;iPhoneStringCountViewController ( ส่วน คลาส AppDelegate นี้เป็นตัวจัดการกับ view ย่อยๆ แต่ในโปรแกรมนี้เรามีแค่ 1 view ฉนั้นเราก็ไม่ต้องไปทำอะไรกับมัน )&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก็เหมือนๆกับ การเขียน Cocoa ปกติเราต้องประกาศ &amp;nbsp;member ที่เป็น outlet เพื่อเอาไว้เชื่อมกับ interface ที่ได้ออกแบบไว้ และก็ต้องมี method ที่เป็น action สำหรับ button ที่เราได้ทำไว้&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;งั้นเราประกาศ member ที่ชื่อว่า m_textInput เพื่อเป็นส่วนของ input และ m_textOutput เพื่อเป็นส่วนของ output ของโปรแกรม และเราก็มี method ที่ชื่อว่า countString เพื่อจะเป็น action สำหรับการกดปุ่ม&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;เราก็เปิด file iPhoneStringCountViewController.m และก็เขียนได้แบบนี้ครับ&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;border: 1px solid silver; color: #110000; font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin: 0px 0px 1.5em; overflow-x: auto; overflow-y: hidden; padding: 0px; text-align: left; width: 670px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; margin: 0px !important; outline: 0px; padding: 0px !important; width: 670px;&quot;&gt;&lt;tbody style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;tr style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; border: none !important; margin: 0px; outline: 0px; padding: 0px !important; text-align: left !important; vertical-align: top !important;&quot;&gt;&lt;pre class=&quot;objc&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px !important; clear: none !important; float: none !important; font-size: 12px !important; line-height: 16px !important; overflow: visible !important; padding: 0px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #a61390; margin: 0px; padding: 0px;&quot;&gt;@interface&lt;/span&gt; iPhoneStringCountViewController &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt; UIViewController
&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;
 IBOutlet UITextField &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;*&lt;/span&gt;m_textInput;
 IBOutlet UILabel &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;*&lt;/span&gt;m_textOutput;
&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;IBAction&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt; countString&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #a61390; margin: 0px; padding: 0px;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt; sender;
&amp;nbsp;
&lt;span style=&quot;color: #a61390; margin: 0px; padding: 0px;&quot;&gt;@end&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก็เป็นว่าตอนนี้เราก็ได้ เขียน class เรียบร้อยแล้ว งั้นขั้นตอนต่อไปก็คือ การเชื่อมกับ Interface ที่ได้ออกแบบไว้&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Back to Interface Builder&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก็หลังจากแก้ไข class แล้วต่อไปก็คือทำให้มันเชื่อมต่อกับ interface วิธีการก็ไม่ได้ยาก ทำเหมือน Cocoa ดั้งเดิมทุกประการ ถ้ายังจำ Cocoa Tutorial แรกได้ผมจะเพ่ิม Object เข้ามา นั่นก็คือ Instance ของ AppController แต่สำหรับ ครั้งนี้เราไม่ต้องไปเพิ่มเข้ามาเพราะว่า File’s Owner นั้นก็เป็น Instance ของ ViewController อยู่แล้ว ฉนั้นแล้วเราก็ Click ขวาที่ File’s Owner เลยครับจะเห็น panel ดังรูป&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/stringcountpanel.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-384 aligncenter&quot; height=&quot;254&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/stringcountpanel-300x254.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;stringcountpanel&quot; width=&quot;300&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;จะเห็นว่ามี Outlet ที่ชื่อว่า m_textInput และ m_textOutput อยู่แล้ว หลังจากนั้นเราก็ลากไปเชื่อมกับ interface ดังรูป&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/link.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-385 aligncenter&quot; height=&quot;155&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/link-300x155.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;link&quot; width=&quot;300&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;และขั้นตอนต่อไปเราก็เชื่อม button ของเรากับ action ที่เราได้ประกาศไว้นั่นก็คือ countString ก็คือลาก กด ctrl ค้างที่ ปุ่มแล้วก็ลากมาดังรูป&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #a9a393; font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/action.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; color: #8f7a2f; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-386 aligncenter&quot; height=&quot;175&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/action-300x175.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;action&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก็จะเห็นว่ามี Panel ขึ้นมา ก็เลือก countString&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #a9a393; font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/panel.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; color: #8f7a2f; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-387 aligncenter&quot; height=&quot;211&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/panel-300x211.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;panel&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ก็เป็นอันเสร็จในส่วนของ การเชื่อมระหว่าง Interface กับ Outlet&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Implement&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;และส่วนสุดท้ายก็คือการเขียน Implement นั่นเอง ก็ไม่ได้มีอะไรมาก เราก็ทำการ รับ input มาจาก UITextField และก็นับจำนวนสตริง หลังจากนั้นก็ แสดงมาที่ UILable สำหรับ Code ก็เปิด File ที่ชื่อว่า iPhoneStringCountViewController.m &amp;nbsp;แล้วก็เขียน countString ลงไป แบบนี้&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;border: 1px solid silver; color: #110000; font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin: 0px 0px 1.5em; overflow-x: auto; overflow-y: hidden; padding: 0px; text-align: left; width: 670px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; margin: 0px !important; outline: 0px; padding: 0px !important; width: 670px;&quot;&gt;&lt;tbody style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;tr style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; border: none !important; margin: 0px; outline: 0px; padding: 0px !important; text-align: left !important; vertical-align: top !important;&quot;&gt;&lt;pre class=&quot;objc&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px !important; clear: none !important; float: none !important; font-size: 12px !important; line-height: 16px !important; overflow: visible !important; padding: 0px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;IBAction&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt; countString&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #a61390; margin: 0px; padding: 0px;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt; sender
&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;
 &lt;span style=&quot;color: #a61390; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt; count &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #2400d9; margin: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;;
 &lt;span style=&quot;color: #400080; margin: 0px; padding: 0px;&quot;&gt;NSString&lt;/span&gt; &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;*&lt;/span&gt;text &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;m_textInput text&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;]&lt;/span&gt;;
 count &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;text length&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;]&lt;/span&gt;;
 &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;m_textOutput setText&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #400080; margin: 0px; padding: 0px;&quot;&gt;NSString&lt;/span&gt; stringWithFormat&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #bf1d1a; margin: 0px; padding: 0px;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #bf1d1a; margin: 0px; padding: 0px;&quot;&gt;&quot;String Length: %i&quot;&lt;/span&gt;,count&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;]&lt;/span&gt; &lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;]&lt;/span&gt;;
&amp;nbsp;
&lt;span style=&quot;color: #002200; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;เพียงเท่านี้ก็เป็นอันเสร็จ เรามาลอง Compile และ Run ดูครับ ก็จะได้โปรแกรมหน้าตาแบบนี้ ก็ลองพิมพ์และลองกด click me ก็จะได้ผลลัพธ์ออกมา&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #a9a393; font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/iphone.png&quot; rel=&quot;lightbox[374]&quot; style=&quot;background-color: white; color: #8f7a2f; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-medium wp-image-388 aligncenter&quot; height=&quot;300&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/09/iphone-156x300.png&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; title=&quot;iphone&quot; width=&quot;156&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/8443858151010665499/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/11/iphone-programming-begin.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/8443858151010665499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/8443858151010665499'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/11/iphone-programming-begin.html' title='iPhone Programming – Begin'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-733396581790826121</id><published>2012-11-09T18:41:00.003-08:00</published><updated>2012-11-09T18:41:29.066-08:00</updated><title type='text'>iPhone Programming – Road map</title><content type='html'>&lt;br /&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Language&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;การเขียนโปรแกรมบน iPhone นั้นแบ่งภาษาที่ใช้ในการเขียนหลักๆเป็น 3 ภาษา ( จริงๆมีอีกภาษาคือ objective-c++)&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; list-style: none; margin: 10px 0px; outline: 0px; padding: 10px 0px 10px 25px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Objective C&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;C&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;C#&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ภาษาอื่นๆหมดสิทธ์ อาจจะมีภาษาอื่นในอนาคต อย่างกรณีภาษา C# ทาง Apple ไม่ได้สนับสนุนโดยตรงแต่เกิดขึ้นมาจาก Mono-Project ถ้าหากเขียน java หรือ Visual Basic มาก่อน ก็คงต้องเลือกเอาละครับว่า ต้องเรียนรู้ภาษาใดภาษาหนึ่งเพิ่มเติมแน่นอน&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;แนะนำข้อดีของแต่ละอันดีกว่าว่ามันมีดีต่างกันยังไง&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ภาษา C&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ข้อดีของภาษา C ที่ผมเห็นว่ามันดีที่สุดคือ&amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;การหาหนังสือเกี่ยวกับการเขียนโปรแกรมภาษา C ง่ายมาก&lt;/span&gt;&lt;/span&gt;&amp;nbsp;หนังสือภาษาไทยก็มี เดินเข้าร้านหนังสือก็เจอแล้ว ( แต่ไม่ค่อยมีหนังสือภาษาไทยที่ลงลึกการเขียนโปรแกรมด้วย C สักเท่าไหร่ ) และไม่ใช่แค่หนังสือแต่รวมไปถึง source code, library, tutorial และมี community ที่ใหญ่มาก และมันเป็นภาษาที่นิยมแพร่หลายและเก่าแก่ และในปัจจุบันก็ยังนิยมใช้อยู่&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ข้อเสียที่ผมคิดว่ามันน่าจะเป็นเรื่องของ การเขียนโปรแกรมด้วยภาษา C ให้ได้ดีนั้นค่อนข้างยาก ไม่ใช่ว่าภาษามันไม่ดี แต่เป็นเพราะว่าตัวภาษามันค่อนข้างจะมีรายละเอียดปลีกย่อยเยอะ กว่าจะเก่งใช้เวลาเรียนรู้นาน แต่ด้วยความสามารถของตัวภาษา มันสามารถลงลึกถึงขั้นจัดการหน่วยความจำหรือแม้กระทั่งตัว hardware โดยตรงได้ และนี่ก็เป็นดาบสองคม เพราะถ้าเขียนโปรแกรมให้มันจัดการหน่วยความจำไม่ดี โปรแกรมเราก็ทำงานได้ประสิทธิภาพที่แย่มากๆ และหนำซ้ำอาจจะไปทำให้ระบบรวนอีก ( สำหรับภาษา java หรืออื่นๆนั้น แทบจะไม่ต้องไปทำเขียนอะไรเกี่ยวกับหน่วยความจำเลย เพราะมันมี Garbage collector เอาไว้จัดการหน่วยความจำให้เรียบร้อย )&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;จริงๆแล้วการเขียนโปรแกรมด้วย ภาษา C นั้นจำเป็นต้องเพิ่งภาษา&amp;nbsp; Objective-C อยู่ดีเพราะเราต้องอาศัย interface builder แต่อย่างที่ผมบอกไว้ว่า Library ของภาษา C นั้นมีเยอะมาก เราสามารถนำ Library ของภาษาที่มีอยู่แล้วนำมาใช้ร่วมกันกับ ภาษา Objective-C ได้อย่างไม่มีปัญหา&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;สำหรับโปรแกรมที่ใช้ภาษา C เป็นหลักก็จำพวก Game ครับ&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ภาษา Objective-C&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ข้อดีของมันคือ ภาษา objective-c มันค่อนข้างเรียนรู้ง่าย ไม่ซับซ้อน ( เค้าบอกว่ามันเป็นเหมือนภาษา C ผสมกับ smalltalk ) และมี Framework, Library ให้ใช้เยอะมาก ภาษามีความยืนหยุ่นสูง และเนื่องจากว่ามันเป็น small super set of C นั่นก็แปลว่า เราสามารถใช้ lib หรือ code ของ C ได้ ( ไม่ใช่ C++ น่ะ ) และตัวภาษายังอนุญาติให้เราเข้าไปจัดการหน่วยความจำได้เหมือนกัน แต่ก็ไม่ยืดหยุ่นมากเท่ากับ c และมันยังมี Garbage Collector ในกรณีที่ไม่ต้องการจัดการหน่วยความจำเอง&amp;nbsp;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;(แต่ในกรณีของ iPhone Garbage Collector จะไม่สามารถใช้ได้)&lt;/span&gt;&amp;nbsp;และข้อดีที่สุดคือ การเขียน application บน iPhone นั้น ถ้าเขียนด้วยภาษา objective-c คือมันมี interface builder ทำให้เราออกแบบ User Interface ได้อย่างง่ายดาย&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ข้อเสียคือ หนังสือให้อ่านน้อยมาก *** ย้ำว่าน้อยมาก *** หนังสือภาษาไทยตอนนี้เท่าที่เห็นมีเล่มเดียวคือ iPhone Programming Cook Book และจำนวนแหล่งความรู้เพิ่มเติมของ Objective-C นี้ก็น้อยมาก ติดปัญหาก็ไม่รู้จะไปหาคำตอบได้ที่ไหน อย่างเวปของไทย ที่เกี่ยวกับ Objective-C ก็น้อยมากๆ เทียบกับ .net หรือ java ก็คนละเรื่องเลย ( บางคนอาจะไม่เคยได้ยินชื่อภาษา Objective-C มาก่อนด้วยซ้ำไป ) จากสิ่งนี้ทำให้ การหา source , tutorial นั้นยากตามไปด้วย ต้องหาคำตอบหรือความรู้เพิ่มจากเวปของต่างประเทศค่อนข้างเยอะ คนไม่เก่งภาษาอังกฤษ ก็ลำบากหน่อย&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ภาษา C#&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ในความคิดส่วนตัวของผมคิดว่า C# เป็นภาษาที่ควรจะพิจารณาเป็นลำดับสุดท้าย เพราะเนื่องด้วยว่า Apple ไม่ได้สนับสนุนโดยตรง และการเขียน iPhone ด้วย C# นั้นต้องการ IDE ของ mono-project ซึ่งต้องซื้อเพิ่มเติม ราคาก็บาทอยู่เหมือนกัน ที่สำคัญครับยังต้องเขียนบน mac และอาศัย iPhone SDK อยู่ดี เหมาะสำหรับ โปรแกรมที่มีอยู่แล้วใน platform อื่นที่เขียนเป็น C# อยู่แล้วมากกว่า ถ้าใครสนใจจริงๆ ก็ไปอ่านรายละเอียดเพิ่มเติมได้ที่่&amp;nbsp;&lt;a href=&quot;http://monotouch.net/&quot; style=&quot;margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://monotouch.net/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ส่วนเรื่องอื่นๆในรายละเอียดของภาษาว่าแตกต่างกันอย่างไรในแบบลึกๆ ลองไปดูเพิ่มเติมได้ที่&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Comparison_of_programming_languages&quot; style=&quot;background-color: white; margin: 0px; outline-width: 0px; padding: 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;http://en.wikipedia.org/wiki/Comparison_of_programming_languages&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; outline: 0px; padding: 0px;&quot;&gt;แล้วควรจะเลือกภาษาใด ?&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;จากประสบการณ์ของผมขอแนะนำให้ศึกษา ภาษา Objective-C เป็นภาษาหลักส่วนภาษาอื่นๆเป็นภาษารอง&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Framework&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;apple ได้ออกแบบ Framework มาเป็น 2 อย่างคือ&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; list-style: none; margin: 10px 0px; outline: 0px; padding: 10px 0px 10px 25px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Cocoa&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Carbon&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;สองอย่างนี้ มันสามารถทำงานร่วมกันได้ในบางส่วน แต่โดยปกติแล้วจะแยกจากกัน สำหรับการเขียนโปรแกรมบน Mac นั้น ถ้าเขียนโปรแกรมด้วยภาษา objective-c นั้นเราจะใช้ Cocoa ส่วน C/C++ นั้นจะใช้ Carbon&amp;nbsp;ดังนั้นถ้าหากเลือกได้ว่าจะเขียน ด้วยภาษาใดแล้วมันก็เหมือนเป็นการบังคับไปเลยว่า เราต้องใช้ Framework แบบไหน แต่ข้อดีของมันก็คือว่า ทั้ง Cocoa และ Carbon ออกแบบมาใกล้เคียงกันมาก ยกตัวอย่าง NSView ( เป็นคลาสหนึ่งใน Cocoa ) ในส่วนของ Carbon ก็จะมีคลาสที่คล้ายๆกันคือ HIView และมี method ที่คล้ายๆกันอีกต่างหาก ( แต่ concept การทำงานบางอย่างมันจะไม่เหมือนกันซะทีเดียว )&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;แต่สำหรับ iPhone แล้ว Apple ได้ออกแบบ Framwork ใหม่ที่มีชื่อว่า&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; list-style: none; margin: 10px 0px; outline: 0px; padding: 10px 0px 10px 25px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Cocoa Touch&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ซึ่งเป็น Framework ที่ออกแบบมาเหมือนกับ Cocoa แต่มีขนาดเล็กกว่า ฉนั้นแล้วการเขียนโปรแกรมด้วย iPhone นั้นก็ต้องใช้ Cocoa Touch ครับ เว้นแต่ว่าจะเขียนโปรแกรมจำพวก Game อาจจะไม่จำเป็นต้องศึกษาให้ลึกซึ้งมากนัก&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Tools&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;เครื่องมือที่ใช้ในการเขียนโปรแกรมสำหรับ iPhone นั้นมีสองอย่างคือ XCode และ monotouch สำหรับ C# ในส่วนของ Development Tool &amp;nbsp;ของ Apple เองนั้นจะประกอบไปด้วยส่วนย่อยๆอีก หลายอัน เช่น Simulator , Instrument&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Xcode นั้นเป็นโปรแกรมที่แถมมาฟรีกับ Mac OSX โดยปกติจะอยู่ในแผ่นที่แถมมาตอนซื้อเครื่องในแผ่นที่ 2 ถ้าไม่มีก็โหลดได้จากเวปของ apple แต่ต้องสมัครเป็นสมาชิก adc member ก่อน และในตอนนี้ XCode ก็ออกมาเป็น version 3.1 แล้ว ถ้าหากเป็น Snow Leopard ก็จะเป็น 3.2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;size-full wp-image-61 aligncenter&quot; height=&quot;330&quot; src=&quot;http://www.macfeteria.com/wp-content/uploads/2008/04/interface_xcode.gif&quot; style=&quot;border: 4px solid rgb(153, 153, 153); margin: 0px; padding: 0px;&quot; width=&quot;479&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: arial, helvetica; font-size: 22px; font-weight: normal; letter-spacing: -1px; line-height: 1.4em; margin: 0px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Ready ?&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;หลังจากรู้คร่าวๆไปแล้ว ว่าการที่เราจะเขียนโปรแกรมบน iPhone นั้นมีขั้นตอน และต้องรู้อะไรมาบ้าง แน่นอนว่าบางคนอาจจะต้องเรียนรู้ทุกอย่างใหม่หมด ตั้งแต่ ภาษา เครื่องมือ ในการเขียนโปรแกรม แต่อย่าไปกลัว เมื่อก่อนผมเองก็ยังไม่เคยเขียนโปรแกรมบน mac มาก่อนเลย ก็ยังอ่านและทดลองเองหมด ฉนั้นไม่ยากเกินความสามารถแน่ๆ&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;สรุปว่า ถ้าอยากเขียนโปรแกรมบน iPhone สิ่งที่จะต้องรู้ก็คือ&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; list-style: none; margin: 10px 0px; outline: 0px; padding: 10px 0px 10px 25px; text-align: left;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ภาษา c หรือ objective-c หรือ C# ( แต่ผมไม่แนะนำ )&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Cocoa Touch&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;XCode&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.macfeteria.com/wp-content/themes/BlackCream/images/PostContentLiIco.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; line-height: 15px; list-style: none; margin: 0px; outline: 0px; padding: 2px 0px 2px 15px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Interface Builder&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: thonburi, tahoma, helvetica, arial, sans-serif; font-size: 13px; line-height: 18px; margin-left: 4px; margin-right: 20px; margin-top: 4px; padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;ครั้งหน้าเราจะมาเริ่มเขียนโปรแกรมกันครับ&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/733396581790826121/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/11/iphone-programming-road-map.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/733396581790826121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/733396581790826121'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/11/iphone-programming-road-map.html' title='iPhone Programming – Road map'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-2814242196452103033</id><published>2012-11-08T09:43:00.001-08:00</published><updated>2012-11-08T09:43:36.900-08:00</updated><title type='text'>การ เขียน App ios  UITabBar, UITabBarController</title><content type='html'>&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #222222; font-family: &#39;Myriad Pro&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Trebuchet MS&#39;, Arial; font-size: 30px; font-weight: normal; letter-spacing: -2px; line-height: 1.4em; margin: 0px 0px 0.45em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
UITabBar, UITabBarController&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Key Skills &amp;amp; Concepts&lt;br /&gt;● ทำความเข้าใจเกี่ยวกับ tab bars&lt;br /&gt;● การสร้างแอพลิเคชันแบบ tab bar Application&lt;br /&gt;● การเพิ่ม tabs ให้กับ tab bar&lt;br /&gt;● การปรับแต่ง tab bar&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
การแสดงผลสำหรับแอพลิเคชันของ iPhone ที่มีลักษณะที่ให้ผู้ใช้เลือกแถบแสดงผล หลังจากนั้นแถบที่ถูกเลือกจะโหลด view ขึ้นมาแสดงผล เนื้อหาที่จะพูดถึงในต่อจากนี้คือการใช้งาน tab bar การสร้างแอพลิเคชันด้วย tab bar และการปรับแต่งแต่ละ tab bar&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
UITabBar, UITabBarController, UITabBarItem,&lt;br /&gt;และ UITabBarControllerDelegate&lt;br /&gt;แอพลิเคชันแบบ tab bar เป็นตัวที่นิยมใช้ในการแสดงผลแบบการทำงานย่อยๆ ที่สามารถแยกการทำงานออกเป็บหลายๆ แบบที่แตกต่างกัน&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
การสร้าง Tab Bar Application&lt;br /&gt;การสร้าง Tab Bar Application สามารถทำได้ง่ายกว่าการสร้างแอพลิเคชันแบบ View-based ที่เคยสร้างก่อนหน้านี้ แอพลิเคชันที่จะสร้างขึ้นต่อไปนี้สร้างด้วย Tab Bar Application template และเราจะเพิ่ม Tab ที่สามเข้าไปในแอพลิเคชัน&lt;br /&gt;&lt;span id=&quot;more-236&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;1. สร้างโปรเจกต์เลือก Tab Bar Application และตั้งชื่อโปรเจกต์ TabBarExOne.&lt;br /&gt;&lt;a href=&quot;http://www.thaiios.com/wp-content/uploads/2011/04/Picture-1.png&quot; style=&quot;background-color: transparent; border: 0px; color: #0088cc; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-237&quot; src=&quot;http://www.thaiios.com/wp-content/uploads/2011/04/Picture-1.png&quot; style=&quot;background-color: transparent; border: none; display: block; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;Picture 1&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
2. เปิดส่วนของ Classes และ Resource เราจะเห็นไฟล์ที่สร้างขึ้นมาเช่นเดียวกับ แอพลิเคชันแบบ View-based&lt;br /&gt;&lt;a href=&quot;http://www.thaiios.com/wp-content/uploads/2011/04/Picture-2.png&quot; style=&quot;background-color: transparent; border: 0px; color: #0088cc; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-238&quot; src=&quot;http://www.thaiios.com/wp-content/uploads/2011/04/Picture-2.png&quot; style=&quot;background-color: transparent; border: none; display: block; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;Picture 2&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
3. เปิดไฟล์ TabBarExOneAppDelegate.h เราจะเห็นการใช้งาน UITabBarControllerDelegate protocol โดยการกำหนด UITabBarController property เป็น IBOutlet&lt;/div&gt;
&lt;div class=&quot;geshi no c&quot; style=&quot;background-color: #eeeeee; border: 1px dotted rgb(102, 102, 102); color: #333333; font-family: &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 18px; margin: 0px 0px 1em; outline: 0px; overflow: auto; padding: 0px; position: relative; vertical-align: baseline; white-space: nowrap;&quot;&gt;
&lt;ol style=&quot;background-color: transparent; border-bottom-width: 0px; border-left-style: none; border-right-width: 0px; border-top-width: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px 0px 0.5em 1em; vertical-align: baseline;&quot;&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;co2&quot; style=&quot;background-color: transparent; border: 0px; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;#import &amp;lt;UIKit/UIKit.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
@interface TabBarExOneAppDelegate&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;:&lt;/span&gt;&amp;nbsp;NSObject &amp;lt;UIApplicationDelegate, UITabBarControllerDelegate&amp;gt;&amp;nbsp;&lt;span class=&quot;br0&quot; style=&quot;background-color: transparent; border: 0px; color: #66cc66; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; UIWindow&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;*&lt;/span&gt;window;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; UITabBarController&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;*&lt;/span&gt;tabBarController;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;br0&quot; style=&quot;background-color: transparent; border: 0px; color: #66cc66; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
@property&amp;nbsp;&lt;span class=&quot;br0&quot; style=&quot;background-color: transparent; border: 0px; color: #66cc66; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;nonatomic, retain&lt;span class=&quot;br0&quot; style=&quot;background-color: transparent; border: 0px; color: #66cc66; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&amp;nbsp;IBOutlet UIWindow&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;*&lt;/span&gt;window;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
@property&amp;nbsp;&lt;span class=&quot;br0&quot; style=&quot;background-color: transparent; border: 0px; color: #66cc66; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;nonatomic, retain&lt;span class=&quot;br0&quot; style=&quot;background-color: transparent; border: 0px; color: #66cc66; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&amp;nbsp;IBOutlet UITabBarController&amp;nbsp;&lt;span class=&quot;sy0&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;*&lt;/span&gt;tabBarController;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot; style=&quot;background-color: transparent; border: 0px; list-style-type: none; margin: 0px; outline: 0px; padding: 3px 0px; vertical-align: baseline;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;background-image: none; border: 0px; color: black; margin: 0px; outline: 0px; padding: 0px 0px 0px 5px; vertical-align: baseline;&quot;&gt;
@end&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
4. เปิดไฟล์ MainWindow.xib และดูในส่วนของ document window เราจะเห็น Tab Bar Controller&lt;br /&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-239&quot; src=&quot;http://www.thaiios.com/wp-content/uploads/2011/04/Picture-3.png&quot; style=&quot;background-color: transparent; border: none; display: block; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;Picture 3&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
5. โปรเจกต์ที่สร้างขั้นมีการเพิ่มส่วน TabBarExOneAppDelegate เป็น proxy object ไปยัง MainView.xib&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
6. ในหน้าต่าง document window ภายใต้ Tab Bar Controller เราจะเห็นว่ามี View Controller อยู่ 2 อันคือ First และ Second&lt;br /&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-240&quot; src=&quot;http://www.thaiios.com/wp-content/uploads/2011/04/Picture-4.png&quot; style=&quot;background-color: transparent; border: none; display: block; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;Picture 4&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
7. Build and run the application&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/2814242196452103033/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/11/app-ios-uitabbar-uitabbarcontroller.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/2814242196452103033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/2814242196452103033'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/11/app-ios-uitabbar-uitabbarcontroller.html' title='การ เขียน App ios  UITabBar, UITabBarController'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-1722067275553478171</id><published>2012-11-08T09:41:00.002-08:00</published><updated>2012-11-08T09:41:39.929-08:00</updated><title type='text'>UIApplication and UIApplicationDelegate</title><content type='html'>&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #222222; font-family: &#39;Myriad Pro&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Trebuchet MS&#39;, Arial; font-size: 30px; font-weight: normal; letter-spacing: -2px; line-height: 1.4em; margin: 0px 0px 0.45em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
UIApplication and UIApplicationDelegate&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
ทุกๆ โปรแกรมของ iPhone จะมี UIApplication เพียงตัวเดียว หน้าที่ของ UIApplication คือจุดเริ่มต้นการทำงานของโปรแกรม จะทำหน้าที่กำหนดค่าเริ่มต้นต่างๆ ของโปรแกรมและแสดงผลหน้าต่าง Window ของโปรแกรม เช่นการโหลด UIView อันแรกให้แสดงผลใน UIWindow หน้าที่เพิ่มเติมอย่างอื่นคือจัดการการทำงานของโปรแกรม และตอบสนองการทำงานของโปรแกรม ซึ่งการทำงานของโปรแกรมโดยทั่วไปมักจะเกิดจาก event เมื่อมี event เกิดขึ้น UIApplication จะรับ event ที่เกิดขึ้นและจะมี UIApplicationDelegate เป็นตัวคอยดูแลจัดการ event ให้&lt;br /&gt;UIApplicationDelegate จะทำหน้าที่จัดการ event ทั้งหมดที่เกิดขึ้นในโปรแกรม รวมถึง event ที่เกิดขึ้นจากระบบ เช่น startup, shutdown, incoming call และ calendar alert&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 15px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
ก่อนที่จะพูดถึงรายระเอียด เพื่อความเข้าใจเกี่ยวกับ UIApplication และ UIApplicationDelegate มีโปรแกรมสำหรับทดสอบการทำงานของ UIApplication และ UIApplicationDelegate โปรเจกต์นี้สร้างจากแบบ Window-based Application ซึ่งจะเป็นโปรเจกต์แบบเปล่าๆ แล้วจึงเพิ่มส่วนของ UIView ลงไป&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/1722067275553478171/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/11/uiapplication-and-uiapplicationdelegate.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/1722067275553478171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/1722067275553478171'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/11/uiapplication-and-uiapplicationdelegate.html' title='UIApplication and UIApplicationDelegate'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-2193920469477520701</id><published>2012-04-25T02:18:00.003-07:00</published><updated>2012-04-25T02:18:35.619-07:00</updated><title type='text'>เขียนโปรแกรมขายบน iPad ตอนที่ 2 : ศึกษาและศึกษา!</title><content type='html'>&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;เขียนโปรแกรมขายบน iPad ตอนที่ 2 : ศึกษาและศึกษา!&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeDZ2RQWCsnI7oMEKV7FxiuPT3FV3DtXiHuJYkTW_dX6jAxi1dCyFQj4hsoj6PwkZkCEXcbUz-EWwfiMzCM2coC5KnPCP-jUzlGOjlox_K-VfMkIwb4RWfLMa_9Qpo_fgIC-FPJIdkfEzx/s1600/11x060707261.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeDZ2RQWCsnI7oMEKV7FxiuPT3FV3DtXiHuJYkTW_dX6jAxi1dCyFQj4hsoj6PwkZkCEXcbUz-EWwfiMzCM2coC5KnPCP-jUzlGOjlox_K-VfMkIwb4RWfLMa_9Qpo_fgIC-FPJIdkfEzx/s320/11x060707261.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
บทความในตอนที่แล้ว ผมพูดเกี่ยวกับว่าในเบื้องต้น เราจะต้องเตรียมอะไรบ้างทั้งอุปกรณ์และ software สำหรับพัฒนา วันนี้ผมจะมาพูดถึงความคืบหน้าต่อไปในการทำความเข้าใจกับ XCode และเครื่องมือที่ใช้พัฒนาครับ&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #545454; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-weight: normal; line-height: 28px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 30px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;1) เราจะศึกษาหาความรู้เกี่ยวกับภาษาสำหรับพัฒนา app บน iPad ได้จากไหน&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
สำหรับคนที่ได้สั่งซื้อตัว Apple Developer Enrollment Program ไปแล้ว แต่ยังรอทางโน้น activate ให้อยู่ ( นี่ผมสามวันแล้วยังไม่ได้ ไม่รู้ว่าเมื่อไหร่จะได้ใช้ตัว XCode 4 ) ระหว่างรอก็สามารถล๊อกอินเข้าไปในส่วนของ member zone ได้ครับ ในส่วนนี้จะมีข้อมูลต่างๆ ที่เป็นประโยชน์มากมาย ทั้งวีดีโอและตัวอย่างโค้ด โดยผมอยากให้มานั่งฟังวีดีโอต่างๆ ที่ทาง apple แนะนำครับ เพื่อให้เห็นภาพรวมของโครงสร้างภาษา และเครื่องมือต่างๆ สำหรับการพัฒนาโปรแกรมบน iOS โดย video ที่ผมแนะนำจะอยู่ในหมวด Developer Essential Videos -&amp;gt; iPhone Development Tool Overview ลองดูอันนี้ก่อนก็ได้ครับเพื่อให้เห็นภาพรวมของการพัฒนาโปรแกรมบน iOS. แต่ว่าจะเป็นข้อมูลของ XCode 3 นะครับ แต่ก็พอหยวนๆ ฟังๆ ไปก่อนได้ครับ&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
จากที่ได้ลองฟังและลองพยายามเขียนโค้ดตามวีดีโออันที่ผมแนะนำ ( ซึ่งทำแทบตาย แต่ก็รันไม่ออก ไม่รู้ทำไม ) ขอสรุปประเด็นสำคัญๆ ที่ควรรู้ดังนี้นะครับ&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
1.1) ถ้าคุณจะทดสอบบนเครื่อง iPhone หรือ iPad จะต้องขอ Certificate สำหรับเครื่องนั้นๆ เสียก่อน โดยส่งตัว serial key ของเครื่องไปที่ apple และ apple ก็จะส่งตัว certificate มาให้เราครับ โดยตัวนี้จะเป็นตัวระบุว่า เครื่องไหนบ้างที่มันผูกกับเราอยู่ ซึ่งถ้าไม่ขอ จะ Deploy โปรแกรมไปทดสอบบนเครื่องไม่ได้นะครับ ( ดู..มัน…เอาทุกอย่างพี่แอปเปิ้ล ) ดังนั้น ถ้าจะลักไก่ทดสอบบน simulator อย่างเดียวก็ไม่ได้แน่นอนครับ เพราะ Environment คนละแบบ และก็เป็นข้อสรุปด้วยว่า ต้องใช้ Mac ในการพัฒนาเท่านั้น ใช้ PC ลง VMWare ไม่ได้….ก็เอาเป็นว่า คุณต้องซื้อเครื่อง Mac 1 เครื่อง และ iPhone หรือ iPad 1 เครื่องเป็นอย่างน้อย เพื่อพัฒนาโปรแกรมสำหรับ iOS คร้าบบบ…&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
1.2) ตัวภาษา Objective-C โครงสร้างมันดูมึนๆ ยิ่งสำหรับผมที่เขียนแต่ php มาแทบทั้งชีวิต เจอเอาไปนี่ถึงกะงง..มาก แต่คนที่เคยเขียน Java มาน่าจะได้เปรียบมั้ง…เพราะมันเป็นภาษาพวก OO เหมือนกันน่ะ&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
1.3) ตัว XCode จะมี Framework สำเร็จรูปมาให้เยอะมาก ซึ่งจะช่วยประหยัดเวลาเราไปได้เยอะครับ บางโปรแกรมเช่นโปรแกรมเล่นเว็บนี้เขียนง่ายสุดๆ เพราะมันมีตัว Web View มาให้แล้ว เอาไปวางๆ และลิ้งค์ๆ ก็ใช้ได้ แต่ผมก็ยังไม่ค่อยเข้าใจคอนเซ็บอยู่ดี คงต้องลองเขียนเล่นดูอีกสักพัก…ใหญ่&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
ผมก็เพิ่งดูวีดีโอไปได้สองสามตอน ( ตอนละชั่วโมง ) ก็ยังบ้อแบ้อยู่เหมือนกันครับ ยังต้องดูกะลองทำไปด้วย อีกพักใหญ่ ( ดูอย่างเดียวแล้วหลับ ) ถ้าใครมี iPad sync เอาไปนอนดูก็ได้นะครับ สะดวกดี แต่ก็แนะนำว่าให้ลองทำไปด้วยจะดีกว่า เพราะจะได้เห็นภาพและไม่ง่วงด้วยครับ&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #545454; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-weight: normal; line-height: 28px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 30px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;2) Next Step&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
ตอนนี้ผมก็ยังได้แต่รอตัว activation code ต่อไป แต่ถึงได้มาก็ยังทำอะไรไม่ได้อยู่ดี แหะๆ วันก่อนผมไปอ่านสกูปจากไหนมาสักที่ เห็นว่าทาง appstore สอยโปรแกรมร่วงไปก็เยอะเหมือนกัน ผมก็เลยมาสงสัยในเรื่องของกฏระเบียบของการส่งโปรแกรมไปรีวิว ซึ่งถ้าได้ความยังไงจะมาเขียนเล่าสู่กันฟังแล้วกันนะครับ เพราะถ้ากฏมันแรง จะได้ระมัดระวังเรื่องการออกแบบโปรแกรมไม่ให้ไปขัดกฏ ไม่งั้นทำแทบตายโดนสอยร่วงก็ชีช้ำระกำใจ เหอๆ&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
แล้วพบกันใหม่เร็วๆ นี้ครับ&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/2193920469477520701/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/04/ipad-2.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/2193920469477520701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/2193920469477520701'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/04/ipad-2.html' title='เขียนโปรแกรมขายบน iPad ตอนที่ 2 : ศึกษาและศึกษา!'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeDZ2RQWCsnI7oMEKV7FxiuPT3FV3DtXiHuJYkTW_dX6jAxi1dCyFQj4hsoj6PwkZkCEXcbUz-EWwfiMzCM2coC5KnPCP-jUzlGOjlox_K-VfMkIwb4RWfLMa_9Qpo_fgIC-FPJIdkfEzx/s72-c/11x060707261.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7779937440266840180.post-7945134939542218151</id><published>2012-04-25T01:16:00.001-07:00</published><updated>2012-04-25T01:16:04.033-07:00</updated><title type='text'>Tip การเขียน App บน iOS</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://blog.digidex.co.uk/wp-content/uploads/2010/06/extra-xcode.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://blog.digidex.co.uk/wp-content/uploads/2010/06/extra-xcode.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
ห่างหายไปนานเลยสำหรับบทความเกี่ยวกับการเขียนแอปนะครับ เพราะคนเขียนมัวแต่ไปเล่นเกมอยู่…แฮ่ๆ นานจน iMac ที่ซื้อมาผ่อนหมดไปแล้วเนี่ย ยังไม่ได้เริ่มเขียนซักกะแอป แต่ว่า ผมก็ไม่ได้นั่งๆ นอนๆ เล่นเกมอย่างเดียวนะครับ เล่นไปก็พยายามดูว่าอะไรที่ทำให้เกมนั้นๆ ประสบความสำเร็จและอะไรที่ทำให้เกมนั้นๆ ไม่ติดอันดับใดๆ เลย ซึ่งวันนี้ผมจะมาเล่า Tip ที่ผมเจอมาจากการเล่นแอปต่างๆ นะครับ ส่วนใหญ่มาจากความรู้สึกล้วนๆ อาจจะไม่ถูกต้อง 100% แต่เอาไว้เป็นไอเดียก็น่าจะดีครับ&lt;/div&gt;
&lt;h1 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #545454; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.86em; font-weight: normal; line-height: 1; margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
Free App + in app purchase หรือ Paid App ดี?&lt;/h1&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
หลายๆ คนที่จะเริ่มเขียน app สักตัวก็จะเริ่มคิดว่า..เราจะหาตังได้จากไหนดีนะ เพราะทุกคนก็อยากได้ตังกันทั้งนั้น โดยการจะได้เงินจากการขาย app ก็มีสองแบบตามที่จั่วหัวไว้ แล้วเราจะใช้แบบไหนดีล่ะที่มันจะเหมาะกับ App ของเรา? ผมจะขอเล่าจากที่ผมได้สังเกตุมาแล้วกันครับ&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #545454; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.3em; font-style: italic; font-weight: normal; line-height: 23px; margin-bottom: 0.63em; margin-left: 0em; margin-right: 0em; margin-top: 2em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
Case 1 : Free App + in-app purchase เพื่อปลดล๊อค content&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
การปล่อยเกมของเราออกไปเป็น Free App นั้น..ในภาพแรกเหมือนจะดี แต่พอมองลึกๆ แล้วกลับเป็นการทำร้ายเกมของเราครับ เพราะเกมที่เราอุตสาห์เขียนขึ้นมามันจะไปอยู่ใน list ของ “Free App” ทางด้านขวาของ top chart page ใน app store รวมถึงโปรแกรมพวก review price ต่างๆ ด้วยเช่น AppShopper&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
พอเกมเราไปอยู่ใน List ของฟรี หมายความว่าเราก็ต้องไปสู้กับคู่แข่งที่เป็นของฟรีเยอะแยะไปหมดด้วยครับ และเกมของเราก็จะดูด้อยค่าลง เหมือนกับเป็นของแจกฟรี คนก็จะไม่โหลดกันไปเล่นถึงแม้มันจะฟรีก็เหอะ ( เดี๋ยวนี้แอปมันเยอะจริงๆ ครับ ของฟรียังจะไม่อยากโหลดเล้ยยย เพราะเคยโหลดมาแล้วมันก็กากซะเยอะ )&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
ดังนั้น ถึงแม้เกมเราจะดีเทพขนาดไหน แต่การให้คนเล่นไปสัก 5-10 lv แล้วก็ขึ้นมาว่า ถ้าอยากเล่นต่อ ก็จงซื้อ in-app purchase ซะเพื่อปลดล๊อค.. ผมว่าคนส่วนใหญ่ไม่ค่อยอยากจะซื้อกันนะครับ ผมเองก็คนนึงล่ะที่ไม่อยากซื้อ สู้ไปซื้อแอปเสียตังตอนมันลดราคาหรือให้โหลดฟรีเลยจะดีกว่า&amp;nbsp;&lt;img alt=&quot;:D&quot; class=&quot;wp-smiley&quot; src=&quot;http://moetoy.com/wp-includes/images/smilies/icon_biggrin.gif&quot; style=&quot;font-family: inherit; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
แต่ in-app purchase เพื่อปลดล๊อคก็ไม่ใช่ว่าจะไม่ดีซะทุกเคสนะครับ มีเคส App อ่านการ์ตูนของเพื่อนผม ( MangaStorm ) เป็น Free App และ ก็ใช้ in-app purchase เพื่อ unlock เหมือนกัน แต่ว่าการปลดล๊อคของเขาจะเป็นการทำให้เราสามารถโหลดการ์ตูนมาเก็บที่เครื่องได้ไม่จำกัด ซึ่งถ้ายังไม่ unlock จะโหลดมาได้แค่ 3 เรื่องเรื่องละไม่กี่ตอนเท่านั้นครับ เห็นได้ว่าวิธีนี้จะเจาะได้ตรงจุดกว่าเพราะตอบโจทย์ความต้องการของผู้ใช้ได้พอดี ไม่เหมือนกับเกมตรงที่มันเยอะไปหมด ถ้าไม่ดีจริงก็เกิดยากแล้วครับ&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #545454; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.3em; font-style: italic; font-weight: normal; line-height: 23px; margin-bottom: 0.63em; margin-left: 0em; margin-right: 0em; margin-top: 2em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
Case 2 : Free App Lite + Paid App&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
การออก version lite มาก็เป็นการดีอย่างเพราะจะทำให้ผู้ใช้สามารถลองเล่นดูก่อนได้ว่า app ของเราดีแค่ไหนก่อนที่จะตัดสินใจซื้อ ซึ่งการออก lite version ก็จะมีข้อเสียสำหรับ dev ก็คือต้อง maintain 2 version ซึ่งก็จะทำให้เสียเวลาและอาจจะเกิดข้อผิดพลาดได้มากขึ้น&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
แต่สมัยนี้ผมสังเกตว่า ไม่ค่อยมี app lite version อยู่ในท้องตลาดเท่าไหร่นัก ซึ่งก็อาจจะเป็นได้ว่านักพัฒนาได้ใช้วิธีแรกกันไปหมด? lol&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #545454; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.3em; font-style: italic; font-weight: normal; line-height: 23px; margin-bottom: 0.63em; margin-left: 0em; margin-right: 0em; margin-top: 2em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
Case 3 : Paid App + in-app purchase for item/gold&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
หลังๆ ผมว่าคนหันมาทำแนวนี้กันเยอะมากครับ คือทำเป็นเกมที่เสียตังซื้อกันไปเลยทีเดียว นอกนั้นยังไม่พอ ยังปล่อยให้คนซื้อของในเกมที่จะช่วยให้เราเทพขึ้นได้อีก! ตอนแรกผมก็คิดว่าใครจะมาซื้อวะ แต่หลังจากที่เล่นๆ ไปก็ถึงบางอ้อว่า อ๋ออ! พวกเด็กๆ ที่เล่นเครื่องของพ่อแม่ไงที่จะกดซื้อของแบบไม่คิด อาจจะดูเป็นเรื่องโง่ๆ แต่ผมว่าถ้า app เราคนโหลดเยอะมาก มีเด็กเปรตพวกนี้สัก 1% ก็ได้กำไรเพิ่มอีกโขเลยครับ&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
ข้อดีของ paid app อีกอย่างก็คือ app ของเราจะดูดีมีชาติตระกูลขึ้นครับ แถมเวลาที่มีเทศกาลต่างๆ เราสามารถที่จะลดราคา app ของเราได้อีก เพื่อกระตุ้นยอดการโหลด ( เวลาเราเปลี่ยนราคา app พวก AppShopper มันจะขึ้นมาได้ครับว่ามีแอปไหนบ้างที่ราคาเปลี่ยน ) แต่ก็อย่าเผลอตั้งราคาแค่ 0.99$ แล้วกันนะครับ เดี๋ยวเวลาจะลดดันจะต้องเป็นแจกฟรีซะนี่ 555 แต่ถ้าต้องการที่จะกระตุ้นยอด review ก็ลดไปก็ได้ครับ&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #707070; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 21px; margin-bottom: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;
จริงๆ มีอีกหลายเรื่องที่อยากเขียนต่อ แต่ว่าเอาไว้คราวหน้าแล้วกันครับ เดี๋ยวจะยาวไป ขอบคุณที่อ่านครับ&amp;nbsp;&lt;img alt=&quot;:D&quot; class=&quot;wp-smiley&quot; src=&quot;http://moetoy.com/wp-includes/images/smilies/icon_biggrin.gif&quot; style=&quot;font-family: inherit; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot; /&gt;&lt;/div&gt;
&lt;h2&gt;
ที่มา...&lt;a href=&quot;http://moetoy.com/&quot; style=&quot;background-color: transparent;&quot;&gt;http://moetoy.com&lt;/a&gt;&lt;a href=&quot;http://moetoy.com/&quot; style=&quot;background-color: transparent;&quot;&gt;http:/&lt;/a&gt;&lt;/h2&gt;</content><link rel='replies' type='application/atom+xml' href='http://myappios5.blogspot.com/feeds/7945134939542218151/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://myappios5.blogspot.com/2012/04/tip-app-ios.html#comment-form' title='1 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/7945134939542218151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7779937440266840180/posts/default/7945134939542218151'/><link rel='alternate' type='text/html' href='http://myappios5.blogspot.com/2012/04/tip-app-ios.html' title='Tip การเขียน App บน iOS'/><author><name>dddd</name><uri>http://www.blogger.com/profile/01131361252514453995</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>