<?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-3969172607380306311</id><updated>2011-07-08T00:09:25.397-07:00</updated><category term='applescript'/><category term='apple driver'/><category term='iphone ipod'/><category term='cocoa programming'/><category term='apple software'/><category term='bash'/><category term='apple command'/><category term='apple xcode'/><category term='java on mac'/><category term='product'/><title type='text'>deeply love apple &amp; mac</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>99</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-608680132204138731</id><published>2009-09-14T05:07:00.001-07:00</published><updated>2009-09-14T05:07:38.987-07:00</updated><title type='text'>generate 32 or 64 bit binary by gcc</title><content type='html'>-m32&lt;div&gt;-m64&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-608680132204138731?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/608680132204138731/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=608680132204138731' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/608680132204138731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/608680132204138731'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/09/generate-32-or-64-bit-binary-by-gcc.html' title='generate 32 or 64 bit binary by gcc'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2755769942313791166</id><published>2009-09-14T05:05:00.000-07:00</published><updated>2009-09-14T05:06:49.446-07:00</updated><title type='text'>compile C program that calls Java</title><content type='html'>ex:&lt;div&gt;gcc -o test.o  -I/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers -framework JavaVM test.c -m64&lt;div&gt;&lt;br /&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/3969172607380306311-2755769942313791166?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2755769942313791166/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2755769942313791166' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2755769942313791166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2755769942313791166'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/09/compile-c-program-that-calls-java.html' title='compile C program that calls Java'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2831237771419104169</id><published>2009-09-14T05:04:00.000-07:00</published><updated>2009-09-14T05:05:20.628-07:00</updated><title type='text'>show file is 64 bit or 32 bits</title><content type='html'>ex:&lt;div&gt;file  test.o&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/3969172607380306311-2831237771419104169?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2831237771419104169/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2831237771419104169' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2831237771419104169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2831237771419104169'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/09/show-file-is-64-bit-or-32-bits.html' title='show file is 64 bit or 32 bits'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7388517564185484375</id><published>2009-09-09T22:06:00.001-07:00</published><updated>2009-09-09T22:08:11.281-07:00</updated><title type='text'>Quartz introduction</title><content type='html'>&lt;b&gt;drawRect:&lt;/b&gt;&lt;div&gt;drawRect method of UIVew is called when a view needs to redraw itself&lt;/div&gt;&lt;div&gt;we usually add drawing code in this function&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7388517564185484375?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7388517564185484375/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7388517564185484375' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7388517564185484375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7388517564185484375'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/09/quartz-introduction.html' title='Quartz introduction'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7134900448019590938</id><published>2009-09-06T19:37:00.000-07:00</published><updated>2009-09-06T20:54:45.488-07:00</updated><title type='text'>run terminal from applescript</title><content type='html'>&lt;div&gt;use &amp;amp; to combine string &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;tell application "Terminal"&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;activate&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;repeat with i from 1 to 5&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;     &lt;/span&gt;do script with command "cd test\\ " &amp;amp; i &amp;amp; ":ls"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     set custom title of window 1 to "test" &amp;amp; i&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;end repeat&lt;/div&gt;&lt;div&gt;end tell&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7134900448019590938?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7134900448019590938/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7134900448019590938' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7134900448019590938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7134900448019590938'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/09/run-terminal-from-applescript.html' title='run terminal from applescript'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2607389748336846581</id><published>2009-09-06T18:36:00.000-07:00</published><updated>2009-09-06T18:37:38.837-07:00</updated><title type='text'>panic reporter</title><content type='html'>in Console's log files --&gt; /Library/Logs --&gt; PanicReporter&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2607389748336846581?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2607389748336846581/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2607389748336846581' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2607389748336846581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2607389748336846581'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/09/panic-reporter.html' title='panic reporter'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7737064182289225980</id><published>2009-08-26T18:51:00.000-07:00</published><updated>2009-08-26T18:54:55.463-07:00</updated><title type='text'>use ReleaseSCSITask to release SCSITaskIdentifier</title><content type='html'>&lt;div&gt;because GetSCSITask will increase fNumCommandsOutstanding,&lt;/div&gt;we must use this function to decrease fNumCommandsOutstanding &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/3969172607380306311-7737064182289225980?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7737064182289225980/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7737064182289225980' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7737064182289225980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7737064182289225980'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/08/use-releasescsitask-to-release.html' title='use ReleaseSCSITask to release SCSITaskIdentifier'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5730531878158133083</id><published>2009-08-21T01:46:00.000-07:00</published><updated>2009-08-25T03:07:42.631-07:00</updated><title type='text'>adjust aio queue length</title><content type='html'>&lt;div&gt;&lt;b&gt;sysctl -a | grep aio&lt;/b&gt;&lt;/div&gt;&lt;div&gt;find property about aio&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;sudo sysctl -w kern.aiomax=256&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;sudo sysctl -w kern.aioprocmax=256&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;sudo sysctl  -w kern.aiothreads=256&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;for linux:&lt;/div&gt;&lt;div&gt;aio-max-nr&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/3969172607380306311-5730531878158133083?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5730531878158133083/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5730531878158133083' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5730531878158133083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5730531878158133083'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/08/adjust-aio-queue-length.html' title='adjust aio queue length'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1590168168546124041</id><published>2009-08-04T19:34:00.000-07:00</published><updated>2009-08-04T19:35:21.678-07:00</updated><title type='text'>ftp command</title><content type='html'>mput  *.js:  &lt;div&gt; put every file that ends with .js&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1590168168546124041?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1590168168546124041/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1590168168546124041' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1590168168546124041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1590168168546124041'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/08/ftp-command.html' title='ftp command'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4444016304493849337</id><published>2009-07-09T18:59:00.000-07:00</published><updated>2009-07-09T19:00:06.602-07:00</updated><title type='text'>iostat</title><content type='html'>watch disk performance&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;iostat -w  1&lt;/div&gt;&lt;div&gt;display every second&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4444016304493849337?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4444016304493849337/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4444016304493849337' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4444016304493849337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4444016304493849337'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/07/iostat.html' title='iostat'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5510300962142638899</id><published>2009-06-11T19:20:00.000-07:00</published><updated>2009-06-11T23:02:57.689-07:00</updated><title type='text'>kernel debug</title><content type='html'>type 14 = page fault&lt;div&gt;error code:   0:  read from a non-present page&lt;/div&gt;&lt;div&gt;                       2:  write to a non-present page&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;EIP:  address of instruction at panic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;create symbol file:&lt;/div&gt;&lt;div&gt;/Volumes/KernelDebugKit/createsymbolfiles -s /tmp         PanicDriver/build/Debug/PanicDriver.kext&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;assume 0x223ab275 is EIP address&lt;/div&gt;&lt;div&gt;gdb /Volumes/KernelDebugKit/mach_kernel&lt;/div&gt;&lt;div&gt;--&gt;   set kext-symbol-file-path  /tmp&lt;/div&gt;&lt;div&gt;--&gt;  add-kext   ~/test.kext&lt;/div&gt;&lt;div&gt;--&gt;  set  print asm-demangle on &lt;/div&gt;&lt;div&gt;--&gt;  x/i    0x223ab275&lt;/div&gt;&lt;div&gt;       find the function mapped to this address&lt;/div&gt;&lt;div&gt;--&gt;  disass  0x223ab275&lt;/div&gt;&lt;div&gt;       show this function's  content&lt;/div&gt;&lt;div&gt;--&gt; info line  * 0x223ab275&lt;/div&gt;&lt;div&gt;show  the line number of  EIP in the function&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/3969172607380306311-5510300962142638899?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5510300962142638899/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5510300962142638899' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5510300962142638899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5510300962142638899'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/06/kernel-debug.html' title='kernel debug'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6413903312413953624</id><published>2009-06-05T02:33:00.000-07:00</published><updated>2009-06-05T02:34:24.174-07:00</updated><title type='text'>vifs</title><content type='html'>edit /etc/fstab&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;set the disk not automount&lt;/div&gt;&lt;div&gt;&lt;div&gt;UUID=5BFDB0C1-B240-3429-B9B0-20022AFBAA3C   /test  hfs   rw,noauto&lt;/div&gt;&lt;div&gt;&lt;br /&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/3969172607380306311-6413903312413953624?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6413903312413953624/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6413903312413953624' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6413903312413953624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6413903312413953624'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/06/vifs.html' title='vifs'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3706655177011776871</id><published>2009-06-03T19:10:00.000-07:00</published><updated>2009-06-03T19:47:59.426-07:00</updated><title type='text'>transfer visual project to xcode</title><content type='html'>1.  new project -&gt; Standard Tool&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2.  get visual project from cvs ( not get from visual stdio) &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3.  copy the files in visual project into this xcode project directory &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4.  set SCM Repository &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-3706655177011776871?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3706655177011776871/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3706655177011776871' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3706655177011776871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3706655177011776871'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/06/transfer-visual-project-to-xcode.html' title='transfer visual project to xcode'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-171875634608976536</id><published>2009-05-07T01:22:00.000-07:00</published><updated>2009-05-07T01:23:11.114-07:00</updated><title type='text'>driver terminate procedure</title><content type='html'>requestTerminate  &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;terminate&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;willTerminate&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;didTerminate&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;detach&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;free&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-171875634608976536?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/171875634608976536/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=171875634608976536' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/171875634608976536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/171875634608976536'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/05/driver-terminate-procedure.html' title='driver terminate procedure'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-539301215855029594</id><published>2009-05-03T22:27:00.000-07:00</published><updated>2009-05-03T22:47:29.461-07:00</updated><title type='text'>kernel core dump</title><content type='html'>&lt;b&gt;configure server&lt;/b&gt;:&lt;div&gt;  sudo mkdir  /PanicDumps&lt;/div&gt;&lt;div&gt;  sudo chown   root:wheel   /PanicDumps&lt;/div&gt;&lt;div&gt;  sudo chmod  1777  /PanicDumps&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;  sudo  launchctl  load -w  /Sysytem/Library/LaunchDaemons/com.apple.kdumpd.plist&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo launchctl  list | grep  kdump&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;configure client:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;sudo nvram  boot-args="debug=0xd44 _panicd_ip=10.10.1.1"&lt;/div&gt;&lt;div&gt;10.10.1.1 is server ip&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-539301215855029594?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/539301215855029594/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=539301215855029594' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/539301215855029594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/539301215855029594'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/05/kernel-core-dump.html' title='kernel core dump'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1117613952514284789</id><published>2009-04-15T20:11:00.001-07:00</published><updated>2009-04-15T20:11:32.491-07:00</updated><title type='text'>link with pcap library</title><content type='html'>-l pcap&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1117613952514284789?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1117613952514284789/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1117613952514284789' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1117613952514284789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1117613952514284789'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/04/link-with-pcap-library.html' title='link with pcap library'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6475888846520195877</id><published>2009-03-23T02:07:00.000-07:00</published><updated>2009-03-23T02:08:05.952-07:00</updated><title type='text'>unload module sequence</title><content type='html'>terminate --&gt; stop --&gt; free&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6475888846520195877?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6475888846520195877/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6475888846520195877' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6475888846520195877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6475888846520195877'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/03/unload-module-sequence.html' title='unload module sequence'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-490864676731569622</id><published>2009-03-11T00:50:00.000-07:00</published><updated>2009-03-11T00:52:26.935-07:00</updated><title type='text'>driver dependency</title><content type='html'>set OSBundleCompatibleVersion &amp;amp; CFBundleVersion&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;set MODULE_VERSION the same as CFBundleVersion in xcode build&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;kextload -r  /tmp  test.kext&lt;/div&gt;&lt;div&gt;/tmp is where to find required kext&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-490864676731569622?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/490864676731569622/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=490864676731569622' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/490864676731569622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/490864676731569622'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/03/driver-dependency.html' title='driver dependency'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-549794843340106345</id><published>2009-03-09T20:44:00.000-07:00</published><updated>2009-03-10T01:04:37.960-07:00</updated><title type='text'>create jni in xcode</title><content type='html'>1.set "Header Search Paths"&lt;div&gt;/System/Library/Frameworks/JavaVM.framework/Headers&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. set "Executable Extensions"&lt;/div&gt;&lt;div&gt;jnilib&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-549794843340106345?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/549794843340106345/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=549794843340106345' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/549794843340106345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/549794843340106345'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/03/create-jni-in-xcode.html' title='create jni in xcode'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2482478892590752258</id><published>2009-02-28T06:38:00.000-08:00</published><updated>2009-02-28T06:39:15.073-08:00</updated><title type='text'>notebook 散熱</title><content type='html'>&lt;span style="color:#f27b21;"&gt;ELECOM 超冷卻 A4 冷台&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2482478892590752258?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2482478892590752258/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2482478892590752258' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2482478892590752258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2482478892590752258'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/notebook.html' title='notebook 散熱'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1311877703429313290</id><published>2009-02-25T06:04:00.001-08:00</published><updated>2009-02-25T06:04:45.872-08:00</updated><title type='text'>the hit list,  draw it ,  tags</title><content type='html'>mac software&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1311877703429313290?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1311877703429313290/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1311877703429313290' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1311877703429313290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1311877703429313290'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/hit-list-draw-it-tags.html' title='the hit list,  draw it ,  tags'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2001487585202796817</id><published>2009-02-18T18:58:00.000-08:00</published><updated>2009-02-26T03:32:00.226-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple driver'/><title type='text'>important type for driver</title><content type='html'>IOReturn:  IOKit/IOReturn.h&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IOByteCount:  IOKit/IOTypes.h&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SCSITaskIdentifier:   IOKit/scsi/SCSITask.h&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IOBufferMemoryDescriptor:  IOKit/IOBufferMemoryDescriptor.h&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SCSI_Sense_Data:  IOKit/scsi/SCSICmds_REQUEST_SENSE_Defs.h&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;UInt64:  libkern/OSTypes.h&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;NULL:  string.h&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2001487585202796817?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2001487585202796817/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2001487585202796817' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2001487585202796817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2001487585202796817'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/important-type-for-driver.html' title='important type for driver'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7773185588764328742</id><published>2009-02-10T21:50:00.000-08:00</published><updated>2009-02-10T21:51:51.659-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple driver'/><title type='text'>IO flow</title><content type='html'>AsyncReadWrite  --&gt;  IssueRead  or IssueWrite&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7773185588764328742?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7773185588764328742/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7773185588764328742' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7773185588764328742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7773185588764328742'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/io-flow.html' title='IO flow'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-215181621961966859</id><published>2009-02-08T18:27:00.000-08:00</published><updated>2009-02-08T18:30:08.842-08:00</updated><title type='text'>frequent include header in mac driver</title><content type='html'>string.h:   define NULL&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IOKit/IOLib.h:   IOMalloc&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-215181621961966859?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/215181621961966859/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=215181621961966859' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/215181621961966859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/215181621961966859'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/frequent-include-header-in-mac-driver.html' title='frequent include header in mac driver'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-8912095409630103134</id><published>2009-02-05T02:08:00.000-08:00</published><updated>2009-02-05T02:09:19.215-08:00</updated><title type='text'>IOMalloc</title><content type='html'>allocate memory in the driver&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;defined in  IOKit/IOLib.h&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/3969172607380306311-8912095409630103134?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/8912095409630103134/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=8912095409630103134' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8912095409630103134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8912095409630103134'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/iomalloc.html' title='IOMalloc'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-8593612570973499095</id><published>2009-02-05T00:05:00.001-08:00</published><updated>2009-02-05T00:05:46.891-08:00</updated><title type='text'>ioregistry</title><content type='html'>close it before unload driver because it may reference to the driver&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-8593612570973499095?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/8593612570973499095/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=8593612570973499095' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8593612570973499095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8593612570973499095'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/02/ioregistry.html' title='ioregistry'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3464673276997944158</id><published>2009-01-22T04:51:00.000-08:00</published><updated>2009-01-22T04:52:10.829-08:00</updated><title type='text'>define macro in xcode</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 19px; line-height: 29px; "&gt;ex:&lt;div&gt;configuration: Debug&lt;/div&gt;&lt;div&gt;gcc 4.0 processing-&gt; preprocessor macros:   _DEBUG&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-3464673276997944158?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3464673276997944158/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3464673276997944158' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3464673276997944158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3464673276997944158'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/01/define-macro-in-xcode.html' title='define macro in xcode'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4053554712105199983</id><published>2009-01-22T04:33:00.001-08:00</published><updated>2009-01-22T04:35:16.953-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple driver'/><title type='text'>combine c and c++ for apple driver</title><content type='html'>set build option:&lt;div&gt;gcc 4.0 language --&gt;  compile source as --&gt;  c++&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4053554712105199983?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4053554712105199983/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4053554712105199983' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4053554712105199983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4053554712105199983'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/01/combine-c-and-c-for-apple-driver.html' title='combine c and c++ for apple driver'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-826869542023847012</id><published>2009-01-21T18:49:00.000-08:00</published><updated>2009-01-21T18:50:30.720-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple driver'/><title type='text'>info.plist for driver</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;IOMatchCategory&lt;/span&gt;:&lt;div&gt;set IODefaultMatchCategory to compare with other driver&lt;/div&gt;&lt;div&gt;the driver with higher probe score will win&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-826869542023847012?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/826869542023847012/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=826869542023847012' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/826869542023847012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/826869542023847012'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/01/infoplist-for-driver.html' title='info.plist for driver'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3339816553836057650</id><published>2009-01-11T23:34:00.000-08:00</published><updated>2009-01-11T23:35:57.649-08:00</updated><title type='text'>IOLog</title><content type='html'>print message in the kernel&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;the message is stored at /var/log/system.log&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-3339816553836057650?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3339816553836057650/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3339816553836057650' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3339816553836057650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3339816553836057650'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2009/01/iolog.html' title='IOLog'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1262937114321802114</id><published>2008-12-28T05:24:00.000-08:00</published><updated>2008-12-28T05:29:45.960-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>hotspot shield</title><content type='html'>the software to watch american tv program (hide your real ip)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.anchorfree.com/downloads/hotspot-shield/"&gt;http://www.anchorfree.com/downloads/hotspot-shield/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;connect to Hulu : have many tv programs&lt;br /&gt;&lt;a href="http://www.hulu.com/"&gt;http://www.hulu.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1262937114321802114?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1262937114321802114/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1262937114321802114' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1262937114321802114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1262937114321802114'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/12/hotspot-shield.html' title='hotspot shield'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6987773272450590041</id><published>2008-11-27T19:16:00.000-08:00</published><updated>2008-11-27T19:17:11.248-08:00</updated><title type='text'>java preference</title><content type='html'>show java information &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6987773272450590041?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6987773272450590041/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6987773272450590041' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6987773272450590041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6987773272450590041'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/11/java-preference.html' title='java preference'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-8636586415733926848</id><published>2008-11-26T20:45:00.000-08:00</published><updated>2008-11-26T20:46:05.487-08:00</updated><title type='text'>Beginning iPhone Development: Exploring the iPhone SDK</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-8636586415733926848?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/8636586415733926848/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=8636586415733926848' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8636586415733926848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8636586415733926848'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/11/beginning-iphone-development-exploring.html' title='Beginning iPhone Development: Exploring the iPhone SDK'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5609450261950742873</id><published>2008-11-26T05:23:00.000-08:00</published><updated>2008-12-03T05:04:04.110-08:00</updated><title type='text'>snmp</title><content type='html'>&lt;div&gt;&lt;a href="http://www.bynkii.com/archives/2007/12/a_primer_to_snmp_on_mac_os_x_1.html"&gt;http://www.bynkii.com/archives/2007/12/a_primer_to_snmp_on_mac_os_x_1.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3 things to do for SNMP:&lt;/div&gt;&lt;div&gt;(1)query a value and get a reply&lt;/div&gt;&lt;div&gt;(2)set a value and get a return code&lt;/div&gt;&lt;div&gt;(3)An SNMP-enabled device can send you a notification, or "trap"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;OID(object identifier)&lt;/div&gt;&lt;div&gt;how you identify SNMP objects in a structured, unique manner.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;root of OID tree:&lt;/div&gt;&lt;div&gt;.1.3.6.1  (iso(1).org(3).dod(6).internet(1) )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;within .1.3.6.1, there are four branches:&lt;/div&gt;&lt;div&gt;directory(1)&lt;/div&gt;&lt;div&gt;mgmt(2)&lt;/div&gt;&lt;div&gt;experimental(3)&lt;/div&gt;&lt;div&gt;private(4)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mgnt(2) is for standard objects&lt;/div&gt;&lt;div&gt;private(4) is for company-specific objects&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MIB(management information base):&lt;/div&gt;&lt;div&gt;help user to understand the meaning of OID,&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;.iso.org.dod.internet.private.enterprises.4526.4.3.1.1.0 = STRING: "00146C689987"&lt;br /&gt;&lt;/div&gt;&lt;div&gt;is translated to&lt;/div&gt;&lt;div&gt;.iso.org.dod.internet.private.enterprises.netgear.wireless.wg102.sysSettings.sysMacAddress.0 = STRING: 00146C689987&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;snmpget:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;snmpget -c public  192.123.1.1  1.3.1.2.1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;snmpwalk:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;找出某個節點後所有的value&lt;/span&gt;&lt;/div&gt;&lt;div&gt;snmpwalk -c public 192.168.5.18 .1.3.6.1.4.1.1714.1.1.2.1.2&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mib file in mac os:&lt;/div&gt;&lt;div&gt;/usr/share/snmp/mibs/&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-5609450261950742873?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5609450261950742873/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5609450261950742873' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5609450261950742873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5609450261950742873'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/11/snmp.html' title='snmp'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6461975632239207539</id><published>2008-10-04T07:48:00.000-07:00</published><updated>2008-10-04T07:52:04.822-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iphone ipod'/><title type='text'>包模</title><content type='html'>西門町獅子林1F~艾斯機膜&lt;br /&gt;獅子林的魔法貼&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6461975632239207539?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6461975632239207539/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6461975632239207539' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6461975632239207539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6461975632239207539'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/10/blog-post.html' title='包模'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1622305547009653491</id><published>2008-10-02T08:27:00.000-07:00</published><updated>2008-10-09T08:19:44.591-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iphone ipod'/><title type='text'>app store的軟體</title><content type='html'>遊戲:&lt;br /&gt;flick bowling:&lt;br /&gt;raging thunder:  賽車&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; font-family:Verdana;font-size:15px;"&gt;Monkey Ball&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px;font-family:Verdana;font-size:15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;money:&lt;/div&gt;&lt;div&gt;splashmoney &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; font-family:Verdana;font-size:15px;"&gt;FileMagnet: watch pdf, doc&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px;font-family:Verdana;font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px;font-family:Verdana;font-size:48px;"&gt;&lt;span class="Apple-style-span"  style=" -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-size:15px;"&gt;Scribble:  draw&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;ezimba:  photo&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;wedict pro: dictionary&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;remote:  remote control&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-family:Verdana;font-size:48px;"&gt;touchcalc:  calculator&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 48px; line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 48px; line-height: 26px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"&gt;evernote: note&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/3969172607380306311-1622305547009653491?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1622305547009653491/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1622305547009653491' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1622305547009653491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1622305547009653491'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/10/app-store.html' title='app store的軟體'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4268070816710099355</id><published>2008-09-16T07:58:00.001-07:00</published><updated>2008-09-16T07:58:45.051-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>novamind</title><content type='html'>mind mapping software&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4268070816710099355?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4268070816710099355/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4268070816710099355' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4268070816710099355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4268070816710099355'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/novamind.html' title='novamind'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7033230838218644489</id><published>2008-09-16T07:08:00.003-07:00</published><updated>2008-09-16T07:08:46.536-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>mount iso</title><content type='html'>hdiutil mount  test.iso&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7033230838218644489?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7033230838218644489/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7033230838218644489' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7033230838218644489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7033230838218644489'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/mount-iso.html' title='mount iso'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1489202352775169923</id><published>2008-09-16T07:08:00.001-07:00</published><updated>2008-09-16T07:08:23.168-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>crossover</title><content type='html'>execute windows software &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1489202352775169923?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1489202352775169923/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1489202352775169923' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1489202352775169923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1489202352775169923'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/crossover.html' title='crossover'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7362871110095174866</id><published>2008-09-13T03:02:00.000-07:00</published><updated>2008-09-13T03:03:31.616-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>@property &amp; @synthesize</title><content type='html'>@property :&lt;div&gt;define getter  &amp;amp; setter method&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;@property(readwrite, assign)  int test;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;@synthesize:&lt;/div&gt;&lt;div&gt;implement getter &amp;amp; setter method&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;@synthesize test;&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/3969172607380306311-7362871110095174866?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7362871110095174866/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7362871110095174866' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7362871110095174866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7362871110095174866'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/property-synthesize.html' title='@property &amp; @synthesize'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1450802948554149416</id><published>2008-09-13T02:35:00.000-07:00</published><updated>2008-09-13T02:38:10.850-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>binding</title><content type='html'>ex:&lt;div&gt;binding Slider's value to a key, then slider's value will sync with key&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How to do:&lt;/div&gt;&lt;div&gt;In slider's inspect, set its binding &lt;/div&gt;&lt;div&gt;(1)set bind to class A&lt;/div&gt;&lt;div&gt;(2)set A's  test member as model key path&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1450802948554149416?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1450802948554149416/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1450802948554149416' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1450802948554149416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1450802948554149416'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/binding.html' title='binding'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7121459973996946216</id><published>2008-09-13T02:21:00.000-07:00</published><updated>2008-09-13T02:25:17.611-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>key value coding</title><content type='html'>ex:&lt;div&gt;.h檔&lt;/div&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;&lt;span style="color: #aa0d91"&gt;@interface&lt;/span&gt; AppController : &lt;span style="color: #400080"&gt;NSObject&lt;/span&gt; {&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;span style="color: #aa0d91"&gt;int&lt;/span&gt; test;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;}&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;@end&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia; font-size: 16px; "&gt;.m檔&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia; font-size: 16px;"&gt;// set test&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #808000"&gt;&lt;span style="color: #008000"&gt;[&lt;/span&gt;&lt;span style="color: #aa0d91"&gt;self&lt;/span&gt;&lt;span style="color: #008000"&gt; &lt;/span&gt;setValue&lt;span style="color: #008000"&gt;:[&lt;/span&gt;&lt;span style="color: #400080"&gt;NSNumber&lt;/span&gt;&lt;span style="color: #008000"&gt; &lt;/span&gt;numberWithInt&lt;span style="color: #008000"&gt;:&lt;/span&gt;&lt;span style="color: #400080"&gt;5&lt;/span&gt;&lt;span style="color: #008000"&gt;]&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #c41a16"&gt;&lt;span style="color: #008000"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808000"&gt;forKey&lt;/span&gt;&lt;span style="color: #008000"&gt;:&lt;/span&gt;@"test"&lt;span style="color: #008000"&gt;];&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;// get test&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #808000"&gt;&lt;span style="color: #400080"&gt;NSNumber&lt;/span&gt;&lt;span style="color: #008000"&gt; *n=[&lt;/span&gt;&lt;span style="color: #aa0d91"&gt;self&lt;/span&gt;&lt;span style="color: #008000"&gt; &lt;/span&gt;valueForKey&lt;span style="color: #008000"&gt;:&lt;/span&gt;&lt;span style="color: #c41a16"&gt;@"test"&lt;/span&gt;&lt;span style="color: #008000"&gt;];&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #808000"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 128, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;// is called when valueForKey is called&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #808000"&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;-(&lt;span style="color: #aa0d91"&gt;int&lt;/span&gt;)test&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;{&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #c41a16"&gt;&lt;span style="color: #008000"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808000"&gt;NSLog&lt;/span&gt;&lt;span style="color: #008000"&gt;(&lt;/span&gt;@"test is returning %d"&lt;span style="color: #008000"&gt;, fido);&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;span style="color: #aa0d91"&gt;return&lt;/span&gt; fido;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;}&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000; min-height: 19.0px"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000; min-height: 19.0px"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); "&gt;// is called when setValue is called&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000; min-height: 19.0px"&gt;-(&lt;span style="color: #aa0d91"&gt;void&lt;/span&gt;)setTest:(&lt;span style="color: #aa0d91"&gt;int&lt;/span&gt;)x&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;{&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #c41a16"&gt;&lt;span style="color: #008000"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808000"&gt;NSLog&lt;/span&gt;&lt;span style="color: #008000"&gt;(&lt;/span&gt;@"setTest is called with %d"&lt;span style="color: #008000"&gt;, x);&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;fido=x;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #008000"&gt;}&lt;/p&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 128, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 128, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7121459973996946216?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7121459973996946216/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7121459973996946216' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7121459973996946216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7121459973996946216'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/key-value-coding.html' title='key value coding'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6747463800153619242</id><published>2008-09-13T02:06:00.000-07:00</published><updated>2008-09-13T02:09:36.464-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>delegate</title><content type='html'>if B is delegate of A,  when something happens to A,  B's method is called&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;B is  TableView's delegate &lt;/div&gt;&lt;div&gt;B implement following method:&lt;/div&gt;&lt;div&gt;-(void)tableViewSelectionDidChange:(NSNotification*)notification &lt;/div&gt;&lt;div&gt;when the selection row is table is changed ,  this method is called&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/3969172607380306311-6747463800153619242?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6747463800153619242/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6747463800153619242' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6747463800153619242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6747463800153619242'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/delegate.html' title='delegate'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2005799702106439034</id><published>2008-09-13T02:01:00.000-07:00</published><updated>2008-09-13T02:06:04.476-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSTableView</title><content type='html'>data source:&lt;div&gt;decide the content of the table&lt;/div&gt;&lt;div&gt;implement two methods:&lt;/div&gt;&lt;div&gt;-(int)numberOfRowInTableView:(NSTableView*)tv&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-(id)tableView:(NSTableView*)tv&lt;/div&gt;&lt;div&gt;                           objectValueForTableColumn:(NSTableColumn*)tableColumn&lt;/div&gt;&lt;div&gt;                           row:(int)row&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2005799702106439034?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2005799702106439034/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2005799702106439034' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2005799702106439034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2005799702106439034'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/nstableview.html' title='NSTableView'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1670744396734495278</id><published>2008-09-13T00:44:00.000-07:00</published><updated>2008-09-13T00:45:29.113-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSWindow</title><content type='html'>initialFirstResponder outlet:&lt;div&gt;this outlet decides which view should be receiving keyboard events when window appears &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/3969172607380306311-1670744396734495278?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1670744396734495278/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1670744396734495278' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1670744396734495278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1670744396734495278'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/nswindow.html' title='NSWindow'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4215233280100185353</id><published>2008-09-13T00:15:00.000-07:00</published><updated>2008-09-13T00:30:28.151-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSButton, NSSlider</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;NSButton:&lt;/span&gt;&lt;/div&gt;oval button, square button ,  check box&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;methods:&lt;/div&gt;&lt;div&gt;-(void)setEnabled:(BOOL)yn&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-(int)state&lt;/div&gt;&lt;div&gt;if return NSOnState(1), the check box is on&lt;/div&gt;&lt;div&gt;if return NSOffState(0), the check box is off&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-(void)setState:(int)aState&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;NSSlider:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;-(void)setFloatValue:(float)x&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-(float)floatValue&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;NSTextField:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;-(NSString*)stringValue&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-(void)setStringValue:(NSString*)aString&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;NSFormatter can convert a string into another type , and vice versa&lt;/div&gt;&lt;div&gt;-(NSObject*) objectValue&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-(void)setObjectValue:(NSObject*)obj&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&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/3969172607380306311-4215233280100185353?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4215233280100185353/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4215233280100185353' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4215233280100185353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4215233280100185353'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/09/nsbutton-nsslider.html' title='NSButton, NSSlider'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-15397709825805800</id><published>2008-08-21T22:28:00.001-07:00</published><updated>2008-08-21T22:28:32.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>macjournal</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-15397709825805800?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/15397709825805800/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=15397709825805800' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/15397709825805800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/15397709825805800'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/macjournal.html' title='macjournal'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3188989654043959245</id><published>2008-08-19T08:44:00.000-07:00</published><updated>2008-08-19T08:45:19.629-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='applescript'/><title type='text'>run applescript from command line</title><content type='html'>osascript  test.scpt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-3188989654043959245?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3188989654043959245/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3188989654043959245' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3188989654043959245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3188989654043959245'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/run-applescript-from-command-line.html' title='run applescript from command line'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4664503088212243913</id><published>2008-08-16T00:57:00.000-07:00</published><updated>2008-08-16T01:41:47.805-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>kscope</title><content type='html'>code tracing program&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;use fink to install &lt;/div&gt;&lt;div&gt;1.  fink install kscope&lt;/div&gt;&lt;div&gt;2. install graphviz ( install from dmg)&lt;/div&gt;&lt;div&gt;    the executable is stored in /usr/local/graphviz-2.14/bin/dot    &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/3969172607380306311-4664503088212243913?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4664503088212243913/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4664503088212243913' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4664503088212243913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4664503088212243913'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/kscope.html' title='kscope'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7415558191676241655</id><published>2008-08-15T23:24:00.000-07:00</published><updated>2008-08-16T00:12:29.032-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>textmate</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;default:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;how to jump to definition:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;shift+ cmd + t : go to the symbol dialog, then enter symbol name&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;remember location:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;use bookmark to record location(  cmd+f2)&lt;/div&gt;&lt;div&gt;next location(f2)&lt;/div&gt;&lt;div&gt;last location(shift + f2)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;diff bundle:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;compare difference&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;external bundle:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;getbundle bundle:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;for easily install bundle&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style=""&gt;ctags bundle:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;1. install ctags bundle&lt;/div&gt;&lt;div&gt;2. jump to definition:  ctrl+ ]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;cvs bundle:&lt;/span&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/3969172607380306311-7415558191676241655?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7415558191676241655/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7415558191676241655' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7415558191676241655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7415558191676241655'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/textmate.html' title='textmate'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4368016411066912555</id><published>2008-08-15T22:43:00.001-07:00</published><updated>2008-08-15T22:43:56.936-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>changes</title><content type='html'>1. compare file difference &lt;div&gt;2. support version control&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4368016411066912555?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4368016411066912555/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4368016411066912555' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4368016411066912555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4368016411066912555'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/changes.html' title='changes'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6912401563921172365</id><published>2008-08-15T03:06:00.000-07:00</published><updated>2008-08-15T10:33:02.983-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>fink</title><content type='html'>install linux program&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;enable to install unstable program:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1. fink configure ( active unstable tree)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2 &lt;/span&gt;&lt;/span&gt;&lt;a name="unstable"&gt;&lt;div class="answer" style="display: inline !important; "&gt;&lt;p style="font: normal normal normal 11pt/normal 'Trebuchet MS', sans-serif; color: black; display: inline !important; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;run &lt;/span&gt;&lt;/span&gt;&lt;code style="font: normal normal normal 10pt/normal Courier, 'Courier New', monospace; color: black; white-space: nowrap; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;fink selfupdate; fink index; fink scanpackages&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: 16px; white-space: nowrap;"&gt;3 run fink selfupdate-rsync&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; white-space: nowrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; white-space: nowrap;"&gt;install packages:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; white-space: nowrap;"&gt;ex:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; white-space: nowrap;"&gt;fink install kscope&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6912401563921172365?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6912401563921172365/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6912401563921172365' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6912401563921172365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6912401563921172365'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/fink.html' title='fink'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4531787045435221697</id><published>2008-08-08T03:17:00.000-07:00</published><updated>2008-08-08T03:25:11.929-07:00</updated><title type='text'>install cdt on eclipse (for c &amp; c++ development)</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;1. download  &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;cdt-master-5.zip&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;2. help --&gt; software update --&gt; available software  --&gt; add site  --&gt; archive --&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;    choose cdt-master-5.zip&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4531787045435221697?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4531787045435221697/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4531787045435221697' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4531787045435221697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4531787045435221697'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/install-cdt-on-eclipse-for-c-c.html' title='install cdt on eclipse (for c &amp; c++ development)'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4236817497724346166</id><published>2008-08-05T01:10:00.000-07:00</published><updated>2008-08-05T01:11:08.400-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>show hidden file in finder</title><content type='html'>defaults write com.apple.finder AppleShowAllFiles TRUE&lt;div&gt;killall Finder&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4236817497724346166?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4236817497724346166/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4236817497724346166' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4236817497724346166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4236817497724346166'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/08/show-hidden-file-in-finder.html' title='show hidden file in finder'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6483881772356191591</id><published>2008-07-30T02:03:00.000-07:00</published><updated>2008-07-30T02:10:35.143-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>vmware</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;problem: &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(49, 51, 50); font-size: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;No Permission to access this virtual machine&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(49, 51, 50); font-size: 20px; font-weight: bold; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;answer:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(49, 51, 50); font-size: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;change owner of each file of virtual machine&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(49, 51, 50); font-size: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;ex:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(49, 51, 50); font-size: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;sudo chown  -R ${USER}  *&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6483881772356191591?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6483881772356191591/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6483881772356191591' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6483881772356191591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6483881772356191591'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/vmware.html' title='vmware'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1394272244592328926</id><published>2008-07-25T00:56:00.000-07:00</published><updated>2008-07-25T01:26:12.557-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><title type='text'>redirect output</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;use &gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&gt; should be preceded with a number, such as 2&gt;  , but default is 1 if no number&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;ls &gt; output&lt;/div&gt;&lt;div&gt;equals   &lt;/div&gt;&lt;div&gt;ls  1&gt; output&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;ex:&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Sending Both Output and Error Messages to Different Files&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;test 1&gt; messages.out  2&gt; message.err &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;or &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;test &gt; messages.out  2&gt; message.err &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;2 means STDERR&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;add &amp;amp; after &gt;:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;means the output is redirected to a file descriptor&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;ex:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;ls &gt;&amp;amp; 2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;write STDOUT &amp;amp; STDERR to the same place:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;ex:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;ls &gt;&amp;amp; outfile &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;or &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;ls &gt; outfile 2&gt;&amp;amp;1 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1394272244592328926?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1394272244592328926/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1394272244592328926' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1394272244592328926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1394272244592328926'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/redirect-output.html' title='redirect output'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2066609922337097318</id><published>2008-07-25T00:47:00.000-07:00</published><updated>2008-07-25T00:48:18.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>run the command in the background</title><content type='html'>put &amp;amp; after command:&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;ls &amp;amp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2066609922337097318?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2066609922337097318/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2066609922337097318' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2066609922337097318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2066609922337097318'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/run-command-in-background.html' title='run the command in the background'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4543719291478747784</id><published>2008-07-25T00:43:00.000-07:00</published><updated>2008-07-25T00:44:35.137-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>/dev/null</title><content type='html'>/dev/null:&lt;div&gt;throwing output away,  redirect output to /dev/null&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;ls &gt; /dev/null&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4543719291478747784?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4543719291478747784/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4543719291478747784' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4543719291478747784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4543719291478747784'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/devnull.html' title='/dev/null'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5169280574834332729</id><published>2008-07-24T22:29:00.001-07:00</published><updated>2008-07-28T22:36:20.638-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>輸入法</title><content type='html'>open vanilla &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;嘸蝦米&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Liu3.cin&lt;br /&gt;&lt;/div&gt;&lt;div&gt;本機硬碟&gt;&gt;資料庫&gt;&gt;OpenVanilla&gt;&gt;0.7.2&gt;&gt;Modules&gt;&gt;OVIMGeneric &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/3969172607380306311-5169280574834332729?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5169280574834332729/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5169280574834332729' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5169280574834332729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5169280574834332729'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/blog-post.html' title='輸入法'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6395264335027299876</id><published>2008-07-24T22:26:00.000-07:00</published><updated>2008-07-24T22:27:56.367-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>safari bookmark</title><content type='html'>Users/deeplove/Library/Safara/Bookmarks.plist&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6395264335027299876?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6395264335027299876/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6395264335027299876' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6395264335027299876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6395264335027299876'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/safari-bookmark.html' title='safari bookmark'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5603285087355144943</id><published>2008-07-16T20:13:00.000-07:00</published><updated>2008-07-16T20:17:57.865-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple driver'/><title type='text'>IOIteratorNext</title><content type='html'>&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "&gt;iterator must be released&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; "&gt;the element got from IOIteratorNext must be released &lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;ex:&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;ele= IOIteratorNext(iter)&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;while(ele != IO_OBJECT_NULL){&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;   IOObjectRelease(ele);&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;   ele = IOIteratorNext(iter);&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;}&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2e0d6e"&gt;IOObjectRelease(iter);&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-5603285087355144943?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5603285087355144943/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5603285087355144943' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5603285087355144943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5603285087355144943'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/ioiteratornext.html' title='IOIteratorNext'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5473740682809021851</id><published>2008-07-16T18:42:00.000-07:00</published><updated>2008-07-16T18:43:44.906-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple driver'/><title type='text'>ioclasscount</title><content type='html'>the instance count of the class&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;useful for tracking leaks&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-5473740682809021851?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5473740682809021851/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5473740682809021851' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5473740682809021851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5473740682809021851'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/ioclasscount.html' title='ioclasscount'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5131322347674094444</id><published>2008-07-15T22:27:00.001-07:00</published><updated>2008-07-15T22:27:59.640-07:00</updated><title type='text'>google code hosting server</title><content type='html'>http://code.google.com/hosting/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-5131322347674094444?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5131322347674094444/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5131322347674094444' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5131322347674094444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5131322347674094444'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/google-code-hosting-server.html' title='google code hosting server'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2776601365431431649</id><published>2008-07-14T02:35:00.000-07:00</published><updated>2008-07-15T03:18:06.428-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>zip command</title><content type='html'>&lt;span class="Apple-style-span"   style="color: rgb(51, 51, 51);   line-height: 18px; font-family:Courier;font-size:14px;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;zip -r data.zip .&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="color: rgb(51, 51, 51);   font-weight: bold; line-height: 18px;font-family:Courier;font-size:14px;"&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal; font-family:Verdana;"&gt;This copies the current directory, including all subdirectories into data.zip &lt;/span&gt;&lt;br /&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/3969172607380306311-2776601365431431649?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2776601365431431649/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2776601365431431649' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2776601365431431649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2776601365431431649'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/zip-command.html' title='zip command'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5541876922827802216</id><published>2008-07-14T00:37:00.000-07:00</published><updated>2008-07-14T00:38:58.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>startup item</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;start the application in the startup item:&lt;/span&gt;&lt;div&gt;/sbin/SystemStarter start "Test"&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&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/3969172607380306311-5541876922827802216?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5541876922827802216/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5541876922827802216' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5541876922827802216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5541876922827802216'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/startup-item.html' title='startup item'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1988939273320654714</id><published>2008-07-03T05:43:00.000-07:00</published><updated>2008-07-03T05:45:08.286-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>organized widget</title><content type='html'>a widget for&lt;div&gt;1. clock&lt;/div&gt;&lt;div&gt;2. note&lt;/div&gt;&lt;div&gt;3. event&lt;/div&gt;&lt;div&gt;4. to do&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1988939273320654714?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1988939273320654714/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1988939273320654714' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1988939273320654714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1988939273320654714'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/07/organized-widget.html' title='organized widget'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7976259474209905941</id><published>2008-06-27T07:54:00.000-07:00</published><updated>2008-06-27T08:01:23.167-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>find command</title><content type='html'>ex:&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;find  .   -name  "test.c"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;first argument set the path to find&lt;/div&gt;&lt;div&gt;second argument set the file to find&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/3969172607380306311-7976259474209905941?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7976259474209905941/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7976259474209905941' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7976259474209905941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7976259474209905941'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/find-command.html' title='find command'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6899309110428663754</id><published>2008-06-25T23:29:00.000-07:00</published><updated>2008-07-17T22:41:55.302-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple xcode'/><category scheme='http://www.blogger.com/atom/ns#' term='java on mac'/><title type='text'>build java project from eclipse in xcode</title><content type='html'>&lt;div&gt;prepare:&lt;/div&gt;&lt;div&gt;change Java template in Xcode&lt;/div&gt;&lt;div&gt;edit  /Developer/Library/Xcode/Project Templates/Java/Java Applicationex/build.xml&lt;/div&gt;&lt;div&gt;       source="1.5"  target="1.5"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(1)check out project "Test" from cvs&lt;/div&gt;&lt;div&gt;(2)create the Java project named "Test"&lt;/div&gt;&lt;div&gt;(3)now xcode create build.xml to compile your Java project &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;include external jars&lt;/span&gt;&lt;/div&gt;&lt;div&gt;place jars in   Test/lib/&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;set main function:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;in Info.plist,  set value = packageName.className  for key = MainClass&lt;/div&gt;&lt;div&gt;in Manifest,  set  Main-Class: packageName.MainClass&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;set image files:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;place them in Test/bin&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;set VMOptions&lt;/span&gt;&lt;/div&gt;&lt;div&gt;in info.plist,  set  "-Xmx512m"  for key  "VMOptions"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;set class path for app:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;In Info.plist, set the value of  ClassPath&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;&amp;lt;key&gt;&lt;span style="color: #000000"&gt;ClassPath&amp;lt;&lt;/span&gt;/key&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #007400"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&amp;lt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(170, 13, 145); "&gt;array&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"&gt;&lt;span style=""&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #aa0d91"&gt;string&gt;&lt;/span&gt;$JAVAROOT/test1.jar&amp;lt;&lt;span style="color: #aa0d91"&gt;/string&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"&gt;&lt;span class="Apple-style-span" style="color: rgb(170, 13, 145); "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); "&gt;&lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(170, 13, 145); "&gt;string&gt;&lt;/span&gt;$JAVAROOT/test2.jar&amp;lt;&lt;span style="color: rgb(170, 13, 145); "&gt;/string&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco"&gt;&lt;span class="Apple-style-span" style="color: rgb(170, 13, 145); "&gt;&amp;lt;/array&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #aa0d91"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;not including other jars when creating jar&lt;/span&gt;&lt;/div&gt;&lt;div&gt;comment  &lt;span class="Apple-style-span"   style="color: rgb(170, 13, 145);   font-family:Monaco;font-size:14px;"&gt;zipgroupfileset &lt;span style="color:#836c28;"&gt;refid&lt;/span&gt;=&lt;span style="color:#c41a16;"&gt;"lib.jars"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="color: rgb(196, 26, 22);  font-family:Monaco;font-size:48px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:Monaco;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;when the resource is the same location as execution file, how to set resource:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Monaco;"&gt;1. if execution file is jar(in jars/) , put resource in jars/ and use "java -jar" to run program&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Monaco;"&gt;2. if execution file is App(in dist/), put resource in dist/  and run from xcode&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Monaco;"&gt;3. place them in the bin/packageName/  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Monaco;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Monaco;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6899309110428663754?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6899309110428663754/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6899309110428663754' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6899309110428663754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6899309110428663754'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/build-project-from-eclipse-in-xcode.html' title='build java project from eclipse in xcode'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1616847370595683147</id><published>2008-06-24T20:18:00.000-07:00</published><updated>2008-06-24T20:19:26.559-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple xcode'/><title type='text'>define macro in xcode</title><content type='html'>ex:&lt;div&gt;configuration: Debug&lt;/div&gt;&lt;div&gt;gcc 4.0 processing-&gt; preprocessor macros:   _DEBUG&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1616847370595683147?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1616847370595683147/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1616847370595683147' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1616847370595683147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1616847370595683147'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/define-macro-in-xcode.html' title='define macro in xcode'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-188653308733005833</id><published>2008-06-24T07:44:00.000-07:00</published><updated>2008-06-24T10:50:56.652-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>memory management in objective-c</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div&gt;retain:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;increase retain count&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;release:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;decrease retain count&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;array:&lt;/span&gt;&lt;div&gt;when an object is added to the array, the object's retain count is increased&lt;/div&gt;&lt;div&gt;when the array is deallocated,  the object( in array) 's retain count is decreased &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;dealloc:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;when an object's retain count becomes 0, its dealloc method is called&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;autorelease:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;the object is added to autorelease pool when it is sent message autorelease&lt;/div&gt;&lt;div&gt;when the pool is drained, it sends message release to all objects in the pool&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;objects created by alloc, new, copy or mutableCopy have a retain count of 1 &amp;amp; are not in the autorelease pool &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;if the object is get from other method, it is usually in the autorelease pool. If you do not want it to be deallocated when the pool drain, you must retain it&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;memory control for setter:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;retain , then release&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;-(void)setName:(NSString*)name&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;      [name retain];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;      [myName release];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;      myName= name;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-188653308733005833?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/188653308733005833/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=188653308733005833' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/188653308733005833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/188653308733005833'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/memory-management-in-objective-c.html' title='memory management in objective-c'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3815645808756890663</id><published>2008-06-23T20:25:00.001-07:00</published><updated>2008-06-23T20:25:59.894-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>create root account</title><content type='html'>sudo passwd root&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/3969172607380306311-3815645808756890663?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3815645808756890663/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3815645808756890663' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3815645808756890663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3815645808756890663'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/create-root-account.html' title='create root account'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2122227974932150579</id><published>2008-06-18T02:48:00.001-07:00</published><updated>2008-06-18T02:55:17.770-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple xcode'/><title type='text'>fileMerge</title><content type='html'>the GUI software to compare two files&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;compare two files&lt;/div&gt;&lt;div&gt;the two files compared are on the two top windows&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;use action to create merged file&lt;/div&gt;&lt;div&gt;the merged file is on the bottom window&lt;/div&gt;&lt;div&gt;(1) do action&lt;/div&gt;&lt;div&gt;(2) save file&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2122227974932150579?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2122227974932150579/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2122227974932150579' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2122227974932150579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2122227974932150579'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/filemerge.html' title='fileMerge'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-9141065568634444835</id><published>2008-06-18T01:30:00.000-07:00</published><updated>2008-06-18T01:37:47.473-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>diff</title><content type='html'>-w: ignore all whitespace&lt;div&gt;&lt;br /&gt;&lt;div&gt;-q: Output only whether files differ&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/3969172607380306311-9141065568634444835?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/9141065568634444835/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=9141065568634444835' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/9141065568634444835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/9141065568634444835'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/diff.html' title='diff'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2308388383063714022</id><published>2008-06-17T22:35:00.000-07:00</published><updated>2008-06-17T22:36:20.467-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>jar &amp; zip plugin for quick look</title><content type='html'>&lt;a href="http://www.cse.msu.edu/~dunham/out/ZipLook.dmg"&gt;http://www.cse.msu.edu/~dunham/out/ZipLook.dmg&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2308388383063714022?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2308388383063714022/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2308388383063714022' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2308388383063714022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2308388383063714022'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/jar-zip-plugin-for-quick-look.html' title='jar &amp; zip plugin for quick look'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4600444142489177760</id><published>2008-06-16T01:33:00.000-07:00</published><updated>2008-06-16T02:14:01.473-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java on mac'/><title type='text'>create application from  jar</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div&gt;create  icon&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;use icon composer to create icon&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;use  jar bundler &lt;/span&gt;&lt;div&gt;set jar files,  main class, icon pic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;the created application is test.app&lt;/div&gt;&lt;div&gt;the executed file is:&lt;/div&gt;&lt;div&gt;test.app/Contents/MacOS/JavaApplicationStub &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-4600444142489177760?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4600444142489177760/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4600444142489177760' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4600444142489177760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4600444142489177760'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/create-application-from-jar.html' title='create application from  jar'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7149958235061126729</id><published>2008-06-15T08:25:00.000-07:00</published><updated>2008-06-15T08:29:11.104-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSObject</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;(id)init&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;(NSString*)description:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;when NSLog print object, it will print the return value of description of the object&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;(BOOL)isEqual:(id)anObject&lt;/span&gt;&lt;/div&gt;&lt;div&gt;for NSString, isEqual will compare characters &lt;/div&gt;&lt;div&gt;note: == compare if two objects are the same objects&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7149958235061126729?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7149958235061126729/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7149958235061126729' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7149958235061126729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7149958235061126729'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/nsobject.html' title='NSObject'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6995383594119432669</id><published>2008-06-15T08:21:00.000-07:00</published><updated>2008-06-15T08:23:57.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSString</title><content type='html'>start with @&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;NSString *test= @"hello";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;NSString to C string&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;char *test = [ a UTF8String];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;C string to NSString:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;a= [NSString stringWithUTF8String:test];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-6995383594119432669?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6995383594119432669/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6995383594119432669' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6995383594119432669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6995383594119432669'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/nsstring.html' title='NSString'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-8908472645490386335</id><published>2008-06-15T08:19:00.000-07:00</published><updated>2008-06-15T08:21:03.535-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSLog</title><content type='html'>similar to printf in C&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;NSLog(@"hello");&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;token for NSLog:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;%@: id&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/3969172607380306311-8908472645490386335?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/8908472645490386335/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=8908472645490386335' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8908472645490386335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/8908472645490386335'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/nslog.html' title='NSLog'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4236256053343700587</id><published>2008-06-15T08:17:00.000-07:00</published><updated>2008-06-15T08:18:09.042-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSNumber</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;initWithInt&lt;/span&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/3969172607380306311-4236256053343700587?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4236256053343700587/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4236256053343700587' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4236256053343700587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4236256053343700587'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/nsnumber.html' title='NSNumber'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-840849410927372616</id><published>2008-06-15T08:14:00.000-07:00</published><updated>2008-06-15T08:19:11.457-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>NSMutableArray  &amp; NSArray</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div&gt;NSArray:&lt;/div&gt;&lt;div&gt;objectAtIndex&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;NSMutableArray:&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;addObject:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;[test addObject:dog1];&lt;/span&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/3969172607380306311-840849410927372616?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/840849410927372616/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=840849410927372616' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/840849410927372616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/840849410927372616'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/nsmutablearray-nsarray.html' title='NSMutableArray  &amp; NSArray'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2562376070915523086</id><published>2008-06-15T08:09:00.000-07:00</published><updated>2008-06-15T08:14:40.752-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>class and object</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;calling method:&lt;/span&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;[test run];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;test is a object, run is its method&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;calling method with arguments:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;[test run:1  secondArg:2];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;1 is first argument,  2 is second argument, secondArg: is the description of second argument&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;create a object:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;test = [NSMutableArray alloc];&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;create &amp;amp; init a object:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;test = [  [NSMutableArray alloc] init];&lt;/div&gt;&lt;div&gt;&lt;br /&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/3969172607380306311-2562376070915523086?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2562376070915523086/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2562376070915523086' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2562376070915523086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2562376070915523086'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/class-and-object.html' title='class and object'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3954195833963851690</id><published>2008-06-15T08:06:00.000-07:00</published><updated>2008-06-15T08:08:48.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>TextField</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;setStringValue:&lt;/span&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;[textField setStringValue:@"hello"]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;setIntValue:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;setObjectValue:&lt;/span&gt;&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/3969172607380306311-3954195833963851690?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3954195833963851690/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3954195833963851690' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3954195833963851690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3954195833963851690'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/textfield.html' title='TextField'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2775424274067629843</id><published>2008-06-15T07:59:00.000-07:00</published><updated>2008-06-15T08:01:43.240-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>import  &amp; objective-c keyword</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;#import:&lt;/span&gt;&lt;div&gt;similar to include. But it ensures the header is included only once.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;keywords:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@end&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@implementation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@class&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@selector&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@protocol&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@property&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@interface&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;@synthesize&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-2775424274067629843?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2775424274067629843/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2775424274067629843' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2775424274067629843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2775424274067629843'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/import-objective-c-keyword.html' title='import  &amp; objective-c keyword'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6452690545598670130</id><published>2008-06-15T07:56:00.000-07:00</published><updated>2008-06-15T08:25:30.557-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>type in objective-c</title><content type='html'>id:  a pointer to any type of object&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;BOOL::&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;YES: 1&lt;/div&gt;&lt;div&gt;NO: 0&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IBOutlet:  a macro that evaluates to nothing. It is a hint for interface builder&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IBAction:  the same as void,  a hint for interface builder&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;nil:  the same as NULL.  for pointers to objects&lt;/div&gt;&lt;div&gt;        In Objective-C, it is ok to send message to nil. The message is simply discarded.&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/3969172607380306311-6452690545598670130?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6452690545598670130/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6452690545598670130' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6452690545598670130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6452690545598670130'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/type-in-objective-c.html' title='type in objective-c'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5448255252040123205</id><published>2008-06-15T07:39:00.000-07:00</published><updated>2008-06-15T08:06:45.876-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cocoa programming'/><title type='text'>interface builder and nib</title><content type='html'>the application's GUI is designed by interface builder&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;GUI is defined in the nib file.  &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Use interface builder to open nib file &amp;amp; design gui&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;define class used in the nib&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;IBOutlet&lt;/span&gt;&lt;/div&gt;&lt;div&gt;instance variable points to other object is called outlet&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;IBOutlet  NSTextField *testField;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;IBAction&lt;/span&gt;&lt;/div&gt;&lt;div&gt;the method is called by user interface objects&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;-(IBAction)seed:(id)sender;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;create an object instance:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;1. drag object from Library window to doc window&lt;/div&gt;&lt;div&gt;2. set its class to object's class name in the Identity Inspector&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;make connection:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;connect two objects&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;a object has outlet textFiled of type TextField , then connect textFiled to  TextFiled GUI&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;when button b is pressed, it calls the method test in object c. Then connect b to object c's methods test&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 102);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;awakeFromNib:&lt;/div&gt;&lt;div&gt;all objects are sent the message awakeFromNib after the objects in nib file are brought to life&lt;/div&gt;&lt;div&gt;Hence, we can do something in awakeFromNib to init GUI&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&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/3969172607380306311-5448255252040123205?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5448255252040123205/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5448255252040123205' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5448255252040123205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5448255252040123205'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/interface-builder-and-nib.html' title='interface builder and nib'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5662885906580383906</id><published>2008-06-11T09:18:00.001-07:00</published><updated>2008-06-11T09:18:51.395-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>grep</title><content type='html'>find string in the file &lt;div&gt;parameter:&lt;/div&gt;&lt;div&gt;-n:  show line number&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;grep -n  "rabbit"  test.rb&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-5662885906580383906?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5662885906580383906/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5662885906580383906' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5662885906580383906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5662885906580383906'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/grep.html' title='grep'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3829097572804223675</id><published>2008-06-10T00:24:00.000-07:00</published><updated>2008-06-10T00:28:34.178-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple xcode'/><title type='text'>xcode debug</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;step over:&lt;/span&gt;&lt;div&gt;execute the function and move to the line after function&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;step into:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;execute the function and move to the body of the function&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;step out:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;originally in the function, execute the function and move to the line after function&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;continue:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;continue program execution&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-3829097572804223675?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3829097572804223675/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3829097572804223675' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3829097572804223675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3829097572804223675'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/xcode-debug.html' title='xcode debug'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7591568224210356860</id><published>2008-06-03T19:45:00.001-07:00</published><updated>2008-06-03T19:45:49.013-07:00</updated><title type='text'>socket</title><content type='html'>#include &lt;sys/socket.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7591568224210356860?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7591568224210356860/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7591568224210356860' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7591568224210356860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7591568224210356860'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/socket.html' title='socket'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-491476488000616667</id><published>2008-06-03T19:42:00.001-07:00</published><updated>2008-06-03T19:42:59.947-07:00</updated><title type='text'>errno</title><content type='html'>#include &lt;errno.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-491476488000616667?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/491476488000616667/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=491476488000616667' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/491476488000616667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/491476488000616667'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/errno.html' title='errno'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7119500144230373714</id><published>2008-06-03T19:34:00.000-07:00</published><updated>2008-06-03T19:37:41.725-07:00</updated><title type='text'>select</title><content type='html'>#include &lt;sys/select.h&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7119500144230373714?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7119500144230373714/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7119500144230373714' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7119500144230373714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7119500144230373714'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/06/select.html' title='select'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-5941168791096333909</id><published>2008-05-30T03:02:00.001-07:00</published><updated>2008-05-30T03:02:59.756-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>chown</title><content type='html'>sudo chown  -R  root:wheel test.kext&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-5941168791096333909?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/5941168791096333909/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=5941168791096333909' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5941168791096333909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/5941168791096333909'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/chown.html' title='chown'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-7818097576134007757</id><published>2008-05-13T23:38:00.000-07:00</published><updated>2008-06-10T00:21:05.352-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple xcode'/><title type='text'>xcode</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;compile files in xcode&lt;/span&gt;&lt;/div&gt;做完改變後，&lt;div&gt;若要在local端儲存改變，&lt;/div&gt;&lt;div&gt;按file，然後按住option，&lt;/div&gt;&lt;div&gt;然後選save a copy as ，&lt;/div&gt;&lt;div&gt;然後檔名選local端file的檔名，&lt;/div&gt;&lt;div&gt;如此就會覆蓋local端原本的檔案。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;set parameter for running&lt;/div&gt;&lt;div&gt;in Excutables-&gt; executable_name-&gt; arguments&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-7818097576134007757?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/7818097576134007757/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=7818097576134007757' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7818097576134007757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/7818097576134007757'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/compare-files-in-xcode.html' title='xcode'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-2556441456831150300</id><published>2008-05-13T20:47:00.000-07:00</published><updated>2008-05-13T20:48:43.994-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>ln</title><content type='html'>&lt;div&gt;ln -s Documents/project/test   Desktop/testLink&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/3969172607380306311-2556441456831150300?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/2556441456831150300/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=2556441456831150300' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2556441456831150300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/2556441456831150300'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/ln.html' title='ln'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-4921432524347430677</id><published>2008-05-08T20:15:00.000-07:00</published><updated>2008-12-29T21:49:12.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>cvs</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;set cvsroot:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;export CVSROOT=:pserver:andy@10.1.1.1:/home/cvs&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;login&lt;/span&gt;&lt;/div&gt;&lt;div&gt;cvs  login&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;import:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;cvs  import  test andy ver1&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;test: project name on cvs server&lt;/div&gt;&lt;div&gt;andy:  Vendor-tag&lt;/div&gt;&lt;div&gt;ver1:  Version-tag&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;checkout:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;get specific version:&lt;/div&gt;&lt;div&gt;cvs co -r  v1_2   projectName&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;get specific date:&lt;/div&gt;&lt;div&gt;cvs co -D "12/02/2008 13:00" projectName&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;get specific branch&lt;/div&gt;&lt;div&gt;cvs co -r branch_name  projectName&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;show status:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;cvs st test.c&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;commit:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;cvs commit  test.c&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;remove&lt;/span&gt;&lt;/div&gt;&lt;div&gt;1. rm test.c&lt;/div&gt;&lt;div&gt;2. cvs rmove teset.c&lt;/div&gt;&lt;div&gt;3. cvs commit test.c&lt;/div&gt;&lt;div&gt;when check out project next time, test.c is not checked out&lt;/div&gt;&lt;div&gt;but test.c is still on cvs server&lt;/div&gt;&lt;div&gt;Hence, we can roll back  the time test.c exists&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/3969172607380306311-4921432524347430677?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/4921432524347430677/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=4921432524347430677' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4921432524347430677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/4921432524347430677'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/cvs.html' title='cvs'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-567556545936325916</id><published>2008-05-06T07:40:00.000-07:00</published><updated>2008-05-23T01:49:30.624-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>macports</title><content type='html'>the software to help install open source porgram&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;install:&lt;/div&gt;&lt;div&gt;set path:&lt;/div&gt;&lt;div&gt;&lt;div&gt;export PATH=$PATH:/opt/local/bin&lt;/div&gt;&lt;div&gt;&lt;br /&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/3969172607380306311-567556545936325916?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/567556545936325916/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=567556545936325916' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/567556545936325916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/567556545936325916'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/macports.html' title='macports'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-1568939462578242508</id><published>2008-05-06T06:19:00.000-07:00</published><updated>2008-05-06T07:05:38.209-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>apache on mac</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;start apache server:&lt;/span&gt;&lt;/div&gt;system preference --&gt; web sharing &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;cgi directory:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;/Library/WebServer/CGI-Executables&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-1568939462578242508?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/1568939462578242508/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=1568939462578242508' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1568939462578242508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/1568939462578242508'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/apache-on-mac.html' title='apache on mac'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3139256435320769932</id><published>2008-05-03T06:37:00.000-07:00</published><updated>2008-05-03T06:39:03.067-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple software'/><title type='text'>times (RSS reader)</title><content type='html'>RSS reader&lt;div&gt;&lt;a href="http://www.acrylicapps.com/times/"&gt;http://www.acrylicapps.com/times/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3969172607380306311-3139256435320769932?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3139256435320769932/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3139256435320769932' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3139256435320769932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3139256435320769932'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/times-rss-reader.html' title='times (RSS reader)'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-6896181283893157013</id><published>2008-05-03T00:48:00.000-07:00</published><updated>2009-01-06T08:58:23.252-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apple command'/><title type='text'>svn</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;svn on windows: tortoiseSVN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;一般分三種directories &lt;/span&gt;&lt;div&gt;trunk: 最新的程式&lt;/div&gt;&lt;div&gt;branch:  程式某個版本的branch，不會影響到最新的程式&lt;/div&gt;&lt;div&gt;tag: 每個release的程式，會有個tag對應，如此可以取回任何一版release的程式&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;將程式抓下來:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ex: svn  checkout  http://svn.techno-weenie.net/projects/plugins/acts_as_authenticated/&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/3969172607380306311-6896181283893157013?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/6896181283893157013/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=6896181283893157013' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6896181283893157013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/6896181283893157013'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/05/svn.html' title='svn'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3969172607380306311.post-3200077688636827348</id><published>2008-04-30T06:02:00.000-07:00</published><updated>2008-04-30T06:18:34.304-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='product'/><title type='text'>apple product list</title><content type='html'>product        description                                         date&lt;div&gt;&lt;br /&gt;&lt;div&gt;iMac             20,24  2.4GHz,              &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;   2008/4/28&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;                      2.66GHz, 2.8GHz, or 3.06 &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/3969172607380306311-3200077688636827348?l=deeplyloveapple.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplyloveapple.blogspot.com/feeds/3200077688636827348/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3969172607380306311&amp;postID=3200077688636827348' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3200077688636827348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3969172607380306311/posts/default/3200077688636827348'/><link rel='alternate' type='text/html' href='http://deeplyloveapple.blogspot.com/2008/04/apple-product-table.html' title='apple product list'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
