<?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: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-425562290444759517</id><updated>2011-11-27T16:09:59.140-08:00</updated><category term='Tweetie for mac'/><category term='image Libarary'/><category term='iphone'/><category term='Turn off beep sound in Terminal'/><category term='read xml file iPhone'/><category term='multiple lines with UILabel'/><category term='save image to photo library'/><category term='ios'/><category term='libxml2 iphone'/><category term='UIToolBar'/><category term='Windows7 on macbook'/><category term='UIBarButtonItem'/><category term='libxml2 objc'/><category term='Mac OS X'/><category term='Taehoon'/><category term='info button'/><category term='UIImageWriteToSavedPhotosAlbum'/><category term='Terminal'/><category term='cocos2d for iphone'/><category term='UILabel'/><category term='cocos2d spawn'/><category term='photo library'/><category term='libxml2'/><title type='text'>a boring developer</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-6017161644550550735</id><published>2010-10-31T17:58:00.001-07:00</published><updated>2010-11-01T07:40:53.089-07:00</updated><title type='text'>[iOS] About 'autorelease'</title><content type='html'>autorelease.&lt;br /&gt;&lt;br /&gt;Obj-C 로 개발하다가, 최초에 가장 헷갈렸던 개념중에 하나 인데, &lt;br /&gt;&lt;br /&gt;autorelease라는 keyword탓이기도 하고, 지금 생각해보면, Apple탓이기도 한데,&lt;br /&gt;&lt;br /&gt;"GC 가 알아서 해결해줄것임" 이라고 오해하기가 쉬운것 같다.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;쉽게 얘기하면, autorelease를 특정 object에 걸어주면, release하는 시점을 연기한다고 이해 하면 된다.&lt;br /&gt;&lt;br /&gt;그럼, 연기된 'release'가 언제 수행되는가 ? &lt;br /&gt;&lt;br /&gt;그것을 알려면 NSAutoReleasePool 이라는 녀석을 알아야 한다.&lt;br /&gt;&lt;br /&gt;object에 autorelease를 걸면,&lt;br /&gt;current NSAutoReleasePool에 쌓이게 되고, NSAutoReleasePool이 Release될때, 함께 릴리즈 된다.&lt;br /&gt;&lt;br /&gt;NSAutoReleasePool 은 Objective-C runtime에 의해 관리 되는데,&lt;br /&gt;NSAutoReleasePool Object를 생성하게 되면, Stack처럼 쌓이게 되고,&lt;br /&gt;top 에 있는 object가 current NSAutoReleasePool이 된다.&lt;br /&gt;&lt;br /&gt;그래서 autorelease 를 많이 사용하는 application을 개발하면,&lt;br /&gt;이 NSAutoReleasePool 관리에도 신경을 써서 개발해야만 한다.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-6017161644550550735?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/6017161644550550735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2010/10/ios-about-autorelease.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/6017161644550550735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/6017161644550550735'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2010/10/ios-about-autorelease.html' title='[iOS] About &apos;autorelease&apos;'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-3988298433979180537</id><published>2010-10-30T16:50:00.000-07:00</published><updated>2010-10-30T16:55:44.987-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UILabel'/><category scheme='http://www.blogger.com/atom/ns#' term='multiple lines with UILabel'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><title type='text'>[iOS] display multiple lines with UILabel</title><content type='html'> &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {color: #7a482f} span.s2 {color: #bf2e9d} &lt;/style&gt;   &lt;p class="p1"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p class="p2"&gt;&lt;span class="s1"&gt;UIKIT_EXTERN_CLASS&lt;/span&gt; &lt;span class="s2"&gt;@interface&lt;/span&gt; UILabel : UIView &lt;nscoding&gt;&lt;/nscoding&gt;&lt;/p&gt; &lt;p class="p2"&gt;{&lt;/p&gt;&lt;p class="p2"&gt;....&lt;/p&gt;&lt;p class="p2"&gt; &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} &lt;/style&gt;   &lt;/p&gt;&lt;p class="p1"&gt;}&lt;/p&gt;&lt;p class="p1"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="p1"&gt; &lt;title&gt;&lt;/title&gt; &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008326} span.s1 {color: #bf2e9d} span.s2 {color: #000000} &lt;/style&gt;   &lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;@property&lt;/span&gt;&lt;span class="s2"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;nonatomic&lt;/span&gt;&lt;span class="s2"&gt;)        UILineBreakMode lineBreakMode;   &lt;/span&gt;// default is UILineBreakModeTailTruncation. used for single and multiple lines of text&lt;/p&gt;&lt;p class="p1"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=UTF-8"&gt; &lt;meta equiv="Content-Style-Type" content="text/css"&gt; &lt;title&gt;&lt;/title&gt; &lt;meta name="Generator" content="Cocoa HTML Writer"&gt; &lt;meta name="CocoaVersion" content="1038.32"&gt; &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #008326} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {color: #bf2e9d} &lt;/style&gt;   &lt;/p&gt;&lt;p class="p1"&gt;// this determines the number of lines to draw and what to do when sizeToFit is called. default value is 1 (single line). A value of 0 means no limit&lt;/p&gt; &lt;p class="p1"&gt;// if the height of the text reaches the # of lines or the height of the view is less than the # of lines allowed, the text will be&lt;/p&gt; &lt;p class="p1"&gt;// truncated using the line break mode.&lt;/p&gt; &lt;p class="p2"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=UTF-8"&gt; &lt;meta equiv="Content-Style-Type" content="text/css"&gt; &lt;title&gt;&lt;/title&gt; &lt;meta name="Generator" content="Cocoa HTML Writer"&gt; &lt;meta name="CocoaVersion" content="1038.32"&gt; &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {color: #bf2e9d} &lt;/style&gt;   &lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;@property&lt;/span&gt;(&lt;span class="s1"&gt;nonatomic&lt;/span&gt;) &lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); "&gt;NSInteger numberOfLines;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;You can set numberOfLines to display on UILabel set numberOfLines attribute.&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;   &lt;meta equiv="Content-Type" content="text/html; charset=UTF-8"&gt; &lt;meta equiv="Content-Style-Type" content="text/css"&gt; &lt;title&gt;&lt;/title&gt; &lt;meta name="Generator" content="Cocoa HTML Writer"&gt; &lt;meta name="CocoaVersion" content="1038.32"&gt; &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #3f217c} span.s1 {color: #000000} span.s2 {color: #2832cf} span.Apple-tab-span {white-space:pre} &lt;/style&gt;   &lt;/p&gt;&lt;p class="p1" style="color: rgb(0, 0, 0); "&gt;&lt;br /&gt;&lt;/p&gt; &lt;p class="p2" style="color: rgb(0, 0, 0); "&gt;&lt;span class="s1"&gt;&lt;span class="Apple-tab-span"&gt;	&lt;/span&gt;[label &lt;/span&gt;setLineBreakMode&lt;span class="s1"&gt;:&lt;/span&gt;UILineBreakModeTailTruncation&lt;span class="s1"&gt;];&lt;/span&gt;&lt;/p&gt; &lt;p class="p2" style="color: rgb(0, 0, 0); "&gt;&lt;span class="s1"&gt;&lt;span class="Apple-tab-span"&gt;	&lt;/span&gt;[label &lt;/span&gt;setNumberOfLines&lt;span class="s1"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;2&lt;/span&gt;&lt;span class="s1"&gt;];&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="Apple-style-span"&gt;this code will display 2 line of text and if it overflow tail will be changed as "...."&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="p3"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="p3"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-3988298433979180537?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/3988298433979180537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2010/10/ios-display-multiple-lines-with-uilabel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/3988298433979180537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/3988298433979180537'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2010/10/ios-display-multiple-lines-with-uilabel.html' title='[iOS] display multiple lines with UILabel'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-5959585533913372780</id><published>2010-10-27T09:30:00.001-07:00</published><updated>2010-10-27T09:41:02.395-07:00</updated><title type='text'>Fitnesses + Spring</title><content type='html'>Spring에, Fitnesses를 붙혀서, Fixture기반의 테스트를 하려고 시도하였는데,&lt;div&gt;딱히 잘되지 않았다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Spring 3.0 기반으로 개발을 진행하다 보니, Annotation 기반으로, 개발을 하는데,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Junit4에서 SpringJunit4ClassRunner를 띄워 ApplicationContext를 Loading 하고 싶었는데,&lt;/div&gt;&lt;div&gt;Fitnesses Library를 Support하는 Spring Supportor Class도 없고, Fitnesses쪽에서도&lt;/div&gt;&lt;div&gt;지원하는 게 없다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;그래서 결국 &lt;span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "&gt;ClassPathXmlApplicationContext &lt;/span&gt;Object를 생성해서, ApplicationContext를 Loading했고,&lt;/div&gt;&lt;div&gt;getAutowireCapableBeanFactory().autowireBean를 호출함으로써, FixtureClass내의&lt;p&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; "&gt;@Autowired된 Object를 Inject 하였다.&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;현재 상태로 목적은 달성하였지만, Fixture마다 다 호출 해주어야하기때문에 영 맘에 들지 않는다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;Library를 수정하지 않고, 어떤 깔끔한 방법이 없을까?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;Sporing 이라는 Library에서 Static Method 기반으로 호출하여 해결하려는 걸 본적 있는데,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;이것도 영 맘에 안든다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;Spring-Fitnesses Project라는곳에서는 SpringRowFixture등을 재정의해서 활용 하는것 같은데,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;이것도 글쎄,, 해당 Class마다 FixtureLibrary Class를 상속받고 Spring에 필요한것들을 중복하여 써주는 형식이거나 Static Method를 호출하는 형식일텐데..&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;이것도 맘에 들지 않는다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;시간이 나면 Library를 수정해서, Junit4의 @Runwith 같은 형식으로 해결할수 있게 해볼까 한다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;style type="text/css"&gt; p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco} &lt;/style&gt;   &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-5959585533913372780?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/5959585533913372780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2010/10/fitnesses-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/5959585533913372780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/5959585533913372780'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2010/10/fitnesses-spring.html' title='Fitnesses + Spring'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-216397754909144158</id><published>2010-05-24T18:15:00.001-07:00</published><updated>2010-05-24T18:21:05.212-07:00</updated><title type='text'>My mackbook white is cracked.</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_aCfaw7seh18/S_skwaaY5VI/AAAAAAAAAEc/tHF6WWaEZH0/s1600/_DSC9586_cracked_macbook.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 268px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5475010186141295954" border="0" alt="" src="http://3.bp.blogspot.com/_aCfaw7seh18/S_skwaaY5VI/AAAAAAAAAEc/tHF6WWaEZH0/s400/_DSC9586_cracked_macbook.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;2 monthes ago, I waked up in the morning as usual.&lt;br /&gt;&lt;br /&gt;When I moved my first step, I felt something wrong.&lt;br /&gt;&lt;br /&gt;Yes, I stepped on my macbook, and it's lcd are broken.&lt;br /&gt;&lt;br /&gt;At first time, there was only few lines, it bothered me but I thought I can leave it.&lt;br /&gt;&lt;br /&gt;But now, it is getting worse. It's not mac'book' , just mac because I can't use this lcd anymore.&lt;br /&gt;&lt;br /&gt;So I decide to fix it. It cost almost $160.&lt;br /&gt;&lt;br /&gt;Guys, don't put your laptop under your bed. :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-216397754909144158?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/216397754909144158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2010/05/my-mackbook-white-is-cracked.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/216397754909144158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/216397754909144158'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2010/05/my-mackbook-white-is-cracked.html' title='My mackbook white is cracked.'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_aCfaw7seh18/S_skwaaY5VI/AAAAAAAAAEc/tHF6WWaEZH0/s72-c/_DSC9586_cracked_macbook.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-7377573778689388461</id><published>2009-12-02T22:02:00.001-08:00</published><updated>2009-12-03T00:22:31.842-08:00</updated><title type='text'>My new place to work.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aCfaw7seh18/SxdUdwdQ6II/AAAAAAAAAEM/HE0n9wy9tzQ/s1600-h/SNC00032.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_aCfaw7seh18/SxdUdwdQ6II/AAAAAAAAAEM/HE0n9wy9tzQ/s400/SNC00032.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5410886347509524610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Yesterday, I moved my place in office.&lt;/div&gt;&lt;div&gt;I totally satisfied with my new place.&lt;/div&gt;&lt;div&gt;It's much larger than old place.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Most importantly, nobody can see what I do :) &lt;/div&gt;&lt;div&gt;When I was in other place, everybody can see.&lt;/div&gt;&lt;div&gt;Actually I didn't care about that , but I can tell new place is much better to work and to surf the web :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, How do you think ? :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-7377573778689388461?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/7377573778689388461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/12/my-new-place-to-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/7377573778689388461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/7377573778689388461'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/12/my-new-place-to-work.html' title='My new place to work.'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aCfaw7seh18/SxdUdwdQ6II/AAAAAAAAAEM/HE0n9wy9tzQ/s72-c/SNC00032.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-4525251023087856639</id><published>2009-12-01T20:31:00.000-08:00</published><updated>2009-12-01T20:42:10.003-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tweetie for mac'/><title type='text'>Tweetie for Mac OS X Review</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aCfaw7seh18/SxXt82EutGI/AAAAAAAAAD0/I0S1iJnmevM/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 299px; height: 400px;" src="http://1.bp.blogspot.com/_aCfaw7seh18/SxXt82EutGI/AAAAAAAAAD0/I0S1iJnmevM/s400/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5410492156918805602" /&gt;&lt;/a&gt;I installed Tweetie for Mac OS X&lt;div&gt;And I'm writing short review about Tweetie.&lt;/div&gt;&lt;div&gt;Like other Mac OS X application, first impression was "yeah looks great".&lt;/div&gt;&lt;div&gt;But I really depressed with UI of "New Tweet".&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_aCfaw7seh18/SxXt9BoHmcI/AAAAAAAAAD8/MUU1HK-WWvc/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 309px; height: 400px;" src="http://3.bp.blogspot.com/_aCfaw7seh18/SxXt9BoHmcI/AAAAAAAAAD8/MUU1HK-WWvc/s400/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5410492160020027842" /&gt;&lt;/a&gt;What's wrong with this ?&lt;/div&gt;&lt;div&gt;Tweetie on iPhone was nice but, I really hard to accept this. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_aCfaw7seh18/SxXt9bMD8HI/AAAAAAAAAEE/uMjo8BbU9vI/s1600-h/Picture+4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 346px; height: 400px;" src="http://4.bp.blogspot.com/_aCfaw7seh18/SxXt9bMD8HI/AAAAAAAAAEE/uMjo8BbU9vI/s400/Picture+4.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5410492166881669234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Even it has ugly User-Interface , it support everything that twitter can.&lt;/div&gt;&lt;div&gt;( Retweet is not supported yet, it's quite new function )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I think I'll continue to use this before I can find great looking Twitter Client.&lt;/div&gt;&lt;div&gt;Please tell me if you know some :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Have a nice day &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-4525251023087856639?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/4525251023087856639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/12/tweetie-for-mac-os-x-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/4525251023087856639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/4525251023087856639'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/12/tweetie-for-mac-os-x-review.html' title='Tweetie for Mac OS X Review'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aCfaw7seh18/SxXt82EutGI/AAAAAAAAAD0/I0S1iJnmevM/s72-c/Picture+2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-4953740762483005914</id><published>2009-11-30T21:57:00.001-08:00</published><updated>2009-11-30T22:02:50.164-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows7 on macbook'/><title type='text'>Windows 7 on MacBook.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aCfaw7seh18/SxSxV_rMuuI/AAAAAAAAADs/99eRhQhlme4/s1600/_DSC9309.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 244px;" src="http://2.bp.blogspot.com/_aCfaw7seh18/SxSxV_rMuuI/AAAAAAAAADs/99eRhQhlme4/s400/_DSC9309.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5410144043806800610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;I used Windows 7 RC on my MacBook.&lt;div&gt;Few days ago, I purchase Windows 7 Ultimate K Edition for my laptop.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I installed it.&lt;/div&gt;&lt;div&gt;As RC version, it works perfectly and I totally satisfy with Windows 7.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Like others, Windows Vista make me down. But 7 is really good choice for people who don't want use 9 years old Windows XP.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I prefer that use Windows 7 than Mac OS X Leopard.&lt;/div&gt;&lt;div&gt;You should try it !! &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-4953740762483005914?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/4953740762483005914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/11/windows-7-on-macbook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/4953740762483005914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/4953740762483005914'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/11/windows-7-on-macbook.html' title='Windows 7 on MacBook.'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aCfaw7seh18/SxSxV_rMuuI/AAAAAAAAADs/99eRhQhlme4/s72-c/_DSC9309.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-4064113535498747615</id><published>2009-07-31T21:17:00.000-07:00</published><updated>2009-07-31T21:20:48.221-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Turn off beep sound in Terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac OS X'/><title type='text'>[OSX] How to turn off beep sound in Terminal</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aCfaw7seh18/SnPCctAtAzI/AAAAAAAAADM/KEe1Dp0A9rw/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 318px;" src="http://1.bp.blogspot.com/_aCfaw7seh18/SnPCctAtAzI/AAAAAAAAADM/KEe1Dp0A9rw/s400/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5364845379503063858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Open Prefereneces of 'Terminal' menu.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Go to 'advanced' tab and uncheck bell item.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That's all :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-4064113535498747615?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/4064113535498747615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/osx-how-to-turn-off-beep-sound-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/4064113535498747615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/4064113535498747615'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/osx-how-to-turn-off-beep-sound-in.html' title='[OSX] How to turn off beep sound in Terminal'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aCfaw7seh18/SnPCctAtAzI/AAAAAAAAADM/KEe1Dp0A9rw/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-7109685063839958871</id><published>2009-07-17T21:55:00.001-07:00</published><updated>2009-07-17T22:00:07.958-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo library'/><category scheme='http://www.blogger.com/atom/ns#' term='image Libarary'/><category scheme='http://www.blogger.com/atom/ns#' term='UIImageWriteToSavedPhotosAlbum'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='save image to photo library'/><title type='text'>[iPhone] save image to Photo Library.</title><content type='html'>&lt;div&gt;Hello, everyone.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Today, I'll see how I can save an Image to Photo Library.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Call 'UIImageWriteToSavedPhotoAlubm' method in UIImagePickerController.h with your 'UIImage object'.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That's all :) It's so easy, isn't it ?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Let me see the declaration of this method.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco"&gt;&lt;span style="color: #643820"&gt;UIKIT_EXTERN&lt;/span&gt; &lt;span style="color: #aa0d91"&gt;void&lt;/span&gt; UIImageWriteToSavedPhotosAlbum(&lt;span style="color: #5c2699"&gt;UIImage&lt;/span&gt; *image, &lt;span style="color: #aa0d91"&gt;id&lt;/span&gt; completionTarget, &lt;span style="color: #aa0d91"&gt;SEL&lt;/span&gt; completionSelector, &lt;span style="color: #aa0d91"&gt;void&lt;/span&gt; *contextInfo);&lt;/p&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Monaco, -webkit-fantasy;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Monaco, -webkit-fantasy;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This method also adapt selector to inform complete ( or error).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;A&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;s&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;elector should be formed like....&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;span class="Apple-style-span" style="font-family: Monaco, fantasy; font-size: 10px; color: rgb(0, 116, 0); "&gt;- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"    style="font-family:Monaco, -webkit-fantasy;font-size:85%;color:#007400;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Have nice day, and wish your happiness :)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, -webkit-fantasy;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-7109685063839958871?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/7109685063839958871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/iphone-save-image-to-photo-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/7109685063839958871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/7109685063839958871'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/iphone-save-image-to-photo-library.html' title='[iPhone] save image to Photo Library.'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-8318792945150685264</id><published>2009-07-17T03:57:00.001-07:00</published><updated>2009-07-17T06:07:51.079-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UIToolBar'/><category scheme='http://www.blogger.com/atom/ns#' term='UIBarButtonItem'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='info button'/><title type='text'>[iPhone] add info button to UIToolBar</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_aCfaw7seh18/SmBaBnj_DkI/AAAAAAAAADE/FMmzRcnqCqs/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 324px; height: 52px;" src="http://4.bp.blogspot.com/_aCfaw7seh18/SmBaBnj_DkI/AAAAAAAAADE/FMmzRcnqCqs/s400/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5359382540417175106" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;How can I insert 'info button' to UIToolBar ?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;You should use 'UIBarButtonItem' to add some item to UIToolBar.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In example you can create it like below code.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span style="color:#5c2699;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style="color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIBarButtonItem&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; *actionItem = [[&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIBarButtonItem&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;alloc&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;] &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;initWithBarButtonSystemItem&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIBarButtonSystemItemAction&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;target&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#aa0d91;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;self&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;action&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#aa0d91;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;nil&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Monaco, fantasy;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;You can use UIBarButtonSystemItem* but there is no info button.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I noticed there is other init method named 'initWithCustomView'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;You can create customized BarButtonItem with it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I created info button with UIButton like below code.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Monaco, -webkit-fantasy;font-size:85%;"&gt;&lt;span class="Apple-style-span"  style="font-size:10px;"&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span style="color:#5c2699;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span style="color:#5c2699;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span style="color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIButton&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; *button = [&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIButton&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;buttonWithType&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIButtonTypeInfoLight&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;[button &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;addTarget&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#aa0d91;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;self&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;action&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#aa0d91;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;@selector&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#26474b;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;infoPressed&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:) &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;forControlEvents&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIControlEventTouchUpInside&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#2e0d6e;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIBarButtonItem&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; *infoItem = [[&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UIBarButtonItem&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#2e0d6e;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;alloc&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;] &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#2e0d6e;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;initWithCustomView&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:button];&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:Georgia, -webkit-fantasy;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Let's do it !! :)&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p  style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color:#5c2699;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p color="#5c2699" style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; "&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-8318792945150685264?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/8318792945150685264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/iphone-add-info-button-to-uitoolbar.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/8318792945150685264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/8318792945150685264'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/iphone-add-info-button-to-uitoolbar.html' title='[iPhone] add info button to UIToolBar'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_aCfaw7seh18/SmBaBnj_DkI/AAAAAAAAADE/FMmzRcnqCqs/s72-c/Picture+1.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-2264887048623695091</id><published>2009-07-05T19:31:00.000-07:00</published><updated>2009-07-05T20:17:38.667-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='cocos2d spawn'/><category scheme='http://www.blogger.com/atom/ns#' term='cocos2d for iphone'/><title type='text'>[iPhone - cocos2d] execute N-actions at once.</title><content type='html'>Is there any way to execute N-actions at once ?&lt;br /&gt;&lt;br /&gt;The answer is 'Yes, there is ".&lt;br /&gt;&lt;br /&gt;There is a Class named 'Spawn' in Cocos2d library.&lt;br /&gt;&lt;br /&gt;Let's see the Documentation of 'Spawn' Class.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="text-align: left;"&gt;@interface Spawn : IntervalAction &lt;nscopying&gt;&lt;br /&gt;{&lt;br /&gt;    FiniteTimeAction *one;&lt;br /&gt;    FiniteTimeAction *two;&lt;br /&gt;}&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;'Spawn' is an one of sub Class of 'IntervalAction'.&lt;br /&gt;And basically it can have only 2 action.&lt;br /&gt;&lt;br /&gt;But, as you can see, there is a class method names "actions:".&lt;br /&gt;That method support N-Actions. How is it possible ?&lt;br /&gt;The answer is simple, Spawn object can have other Spawn object as its property.&lt;br /&gt;&lt;br /&gt;Let me show some example.&lt;br /&gt;&lt;br /&gt;Action *action = [Spawn actions:[RotateBy actionWithDuration:aValue angle:180], [FadeIn actionWithDuration:aValue], [ScaleTo actionWithDuration:aValue scale:1.5],nil];&lt;br /&gt;&lt;br /&gt;Spawn have 'RotateBy' and ' FadeIn' and 'ScaleTo'&lt;br /&gt;&lt;br /&gt;And those actions will be executed at a time.&lt;br /&gt;&lt;br /&gt;Enjoy your development :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-2264887048623695091?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/2264887048623695091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/iphone-cocos2d-execute-n-actions-at.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/2264887048623695091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/2264887048623695091'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/07/iphone-cocos2d-execute-n-actions-at.html' title='[iPhone - cocos2d] execute N-actions at once.'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-8652584122332095740</id><published>2009-05-28T21:18:00.000-07:00</published><updated>2009-05-29T21:22:40.501-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='libxml2'/><category scheme='http://www.blogger.com/atom/ns#' term='read xml file iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='libxml2 objc'/><category scheme='http://www.blogger.com/atom/ns#' term='libxml2 iphone'/><title type='text'>[iPhone] XML parsing on iPhone SDK</title><content type='html'>There are 3 ways to handle XML document in iPhone SDK.&lt;br /&gt;&lt;br /&gt;First of all, use &lt;a href="http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html"&gt;NSXMLParser&lt;/a&gt; provided by iPhone SDK.&lt;br /&gt;Rest of them, use library.&lt;br /&gt;&lt;br /&gt;NSXMLParser use &lt;a href="http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/XMLParsing/XMLParsing.html"&gt;Event-Driven XML Parsing&lt;/a&gt; (async ).&lt;br /&gt;I need a way to parse XML in sync.&lt;br /&gt;&lt;br /&gt;So I checked the other ways.&lt;br /&gt;&lt;br /&gt;There are 2 project that you can use.&lt;br /&gt;&lt;br /&gt;'&lt;a href="http://code.google.com/p/touchcode/wiki/TouchXML"&gt;TouchXML&lt;/a&gt;' and '&lt;a href="http://www.xmlsoft.org/"&gt;libxml&lt;/a&gt;'.&lt;br /&gt;&lt;br /&gt;'TouchXML' is works on the 'libxml'. So I skipped 'TouchXML' and I'll try with 'libxml'.&lt;br /&gt;&lt;br /&gt;To use 'libxml' in your Xcode Project you have to add Framework.&lt;br /&gt;And change build configuration.&lt;br /&gt;&lt;br /&gt;Add 'libxml2.2.dylib' into your Project and&lt;br /&gt;&lt;br /&gt;Add 'Header Seach Path' as '/usr/include/libxml2' like below image.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_aCfaw7seh18/Sh9kLcwbLBI/AAAAAAAAACw/zWy-uo_ohgQ/s1600-h/HeaderSearchPath.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 102px;" src="http://2.bp.blogspot.com/_aCfaw7seh18/Sh9kLcwbLBI/AAAAAAAAACw/zWy-uo_ohgQ/s400/HeaderSearchPath.png" alt="" id="BLOGGER_PHOTO_ID_5341097830945336338" border="0" /&gt;&lt;/a&gt;&lt;span style="color: rgb(51, 0, 51); font-weight: bold;"&gt;- Header Serach Path -&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now impoert header file for libxml(libxml/xmlmemory.h)&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;libxml h=""&gt;&lt;span style="font-style: italic;"&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;&lt;libxml h=""&gt;Use 'xmlParseMemory' to parse XML in memory.&lt;br /&gt;Use 'xmlReadFile' to parse XML file.&lt;br /&gt;&lt;br /&gt;Return type of these APIs are same 'xmlDocPtr'&lt;br /&gt;You should call 'xmlFreeDoc' after finish your work.&lt;br /&gt;&lt;br /&gt;I'll show you how we can see the elements in XML.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- (void)printElementName:(xmlNode *)a_node&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    xmlNode *cur_node = NULL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    for (cur_node = a_node; cur_node; cur_node = cur_node-&gt;next) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        if (cur_node-&gt;type == XML_ELEMENT_NODE) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            NSLog(@"node type: Element, name: %s\n", cur_node-&gt;name);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        [self printElementName: cur_node-&gt;children];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    }    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- (void)applicationDidFinishLaunching:(UIApplication *)application {    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    NSString *path = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"test.xml"];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    xmlDocPtr doc = xmlReadFile([path UTF8String], "UTF-8", 0);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    xmlNodePtr root = xmlDocGetRootElement(doc);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    [self printElementName:root];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    xmlFreeDoc(doc);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, you can parse XML with iPhone SDK :)&lt;br /&gt;&lt;br /&gt;Thank you for visit my Blog.&lt;/libxml&gt;&lt;/libxml&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-8652584122332095740?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/8652584122332095740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/05/iphone-xml-parsing-on-iphone-sdk.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/8652584122332095740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/8652584122332095740'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/05/iphone-xml-parsing-on-iphone-sdk.html' title='[iPhone] XML parsing on iPhone SDK'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aCfaw7seh18/Sh9kLcwbLBI/AAAAAAAAACw/zWy-uo_ohgQ/s72-c/HeaderSearchPath.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425562290444759517.post-246752653763480915</id><published>2009-05-26T19:22:00.000-07:00</published><updated>2009-05-26T20:17:09.035-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Taehoon'/><title type='text'>My First Post.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_aCfaw7seh18/Shykz2Jv8lI/AAAAAAAAACI/9IXjMsgfoKY/s1600-h/mirror.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 266px; height: 400px;" src="http://1.bp.blogspot.com/_aCfaw7seh18/Shykz2Jv8lI/AAAAAAAAACI/9IXjMsgfoKY/s400/mirror.jpg" alt="" id="BLOGGER_PHOTO_ID_5340324468771254866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Hello, Everyone.&lt;br /&gt;&lt;br /&gt;I'm Taehoon Koo who live in Seoul, Korea.&lt;br /&gt;&lt;br /&gt;This is my first post on this Blog. So, I'll introduce my self.&lt;br /&gt;I graduated &lt;a href="http://www.hongik.ac.kr"&gt;Hongik University&lt;/a&gt; in Korea, and My major is compter engineering&lt;br /&gt;Now I work for &lt;a href="http://www.dgstation.co.kr"&gt;DGStation&lt;/a&gt; where make Digital Satellite Receivers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Personally, I have a lot of interest on developing iPhone Apps, Website or Webserice.&lt;br /&gt;I'm trying to release my first iPhone App.&lt;br /&gt;I'll post the information, soon :)&lt;br /&gt;&lt;br /&gt;Anyone who want be a friend with me, don't hesitate send an email to me, please :)&lt;br /&gt;&lt;br /&gt;Thank you for visit my Blog and I hope you have a nice day :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425562290444759517-246752653763480915?l=taehoonkoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taehoonkoo.blogspot.com/feeds/246752653763480915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://taehoonkoo.blogspot.com/2009/05/my-first-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/246752653763480915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425562290444759517/posts/default/246752653763480915'/><link rel='alternate' type='text/html' href='http://taehoonkoo.blogspot.com/2009/05/my-first-post.html' title='My First Post.'/><author><name>Taehoon.Koo</name><uri>http://www.blogger.com/profile/14779933061492906572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_aCfaw7seh18/Shu0KTbiJUI/AAAAAAAAABk/XHvqa7GejkQ/S220/mirror.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_aCfaw7seh18/Shykz2Jv8lI/AAAAAAAAACI/9IXjMsgfoKY/s72-c/mirror.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
