<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
> <channel><title>F.A.B.L.E &#187; Dev</title> <atom:link href="http://sh3ng.com/category/dev/feed/" rel="self" type="application/rss+xml" /><link>http://sh3ng.com</link> <description>iOS, Programming, Design, Game, Photography, Movie, Music, Trip, Sharing...</description> <lastBuildDate>Fri, 23 Sep 2011 03:04:36 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> <item><title>iOS Technical Note &amp; QA Collection</title><link>http://sh3ng.com/2011/08/ios-technical-note-qa-collection/</link> <comments>http://sh3ng.com/2011/08/ios-technical-note-qa-collection/#comments</comments> <pubDate>Sat, 06 Aug 2011 14:11:46 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Cocoa]]></category> <category><![CDATA[Dev]]></category> <category><![CDATA[iOS]]></category> <guid
isPermaLink="false">http://sh3ng.com/?p=630</guid> <description><![CDATA[iOS Debugging Magic Understanding and Analyzing iPhone OS Application Crash Reports Troubleshooting Push Notifications Adding In App Purchase to your iOS and Mac Applications Getting a Packet Trace Document Transfer Strategies App Icons on iPad and iPhone Screen Capture in UIKit Applications Animating the frame of a CALayer CATiledLayer and UIKit graphics Improving Image Drawing [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://developer.apple.com/library/ios/#technotes/tn2239/_index.html" target="_blank">iOS Debugging Magic</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184" target="_blank">Understanding and Analyzing iPhone OS Application Crash Reports</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376" target="_blank">Troubleshooting Push Notifications</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#technotes/tn2259/_index.html#//apple_ref/doc/uid/DTS40009578" target="_blank">Adding In App Purchase to your iOS and Mac Applications</a> <br/><br/> <a
href="http://developer.apple.com/library/mac/#qa/qa1176/_index.html" target="_blank">Getting a Packet Trace</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#technotes/tn2152/_index.html#//apple_ref/doc/uid/DTS40009179" target="_blank">Document Transfer Strategies</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1686/_index.html#//apple_ref/doc/uid/DTS40009882" target="_blank">App Icons on iPad and iPhone</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1703/_index.html#//apple_ref/doc/uid/DTS40010193" target="_blank">Screen Capture in UIKit Applications</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1620/_index.html#//apple_ref/doc/uid/DTS40008060" target="_blank">Animating the frame of a CALayer</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1637/_index.html#//apple_ref/doc/uid/DTS40009212" target="_blank">CATiledLayer and UIKit graphics</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1708/_index.html#//apple_ref/doc/uid/DTS40010245" target="_blank">Improving Image Drawing Performance on iOS</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1397/_index.html#//apple_ref/doc/uid/DTS40009877" target="_blank">Understanding the UIRequiredDeviceCapabilities key</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1699/_index.html#//apple_ref/doc/uid/DTS40010197" target="_blank">Storing Private Data</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1680/_index.html#//apple_ref/doc/uid/DTS40009452" target="_blank">Updating from a wildcard App ID to an explicit App ID</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/#qa/qa1633/_index.html#//apple_ref/doc/uid/DTS40009414" target="_blank">Creating easy-to-read links to the App Store for your applications and company</a> <br/><br/> <a
href="http://developer.apple.com/library/ios/qa/qa1629/_index.html#//apple_ref/doc/uid/DTS40008173" target="_blank">Launching the App Store from an iPhone application</a></p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/08/ios-technical-note-qa-collection/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>iOS OpenSource Library Collection</title><link>http://sh3ng.com/2011/08/ios-opensource-library-collection/</link> <comments>http://sh3ng.com/2011/08/ios-opensource-library-collection/#comments</comments> <pubDate>Sat, 06 Aug 2011 09:31:36 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Cocoa]]></category> <category><![CDATA[Dev]]></category> <category><![CDATA[iOS]]></category> <guid
isPermaLink="false">http://sh3ng.com/?p=616</guid> <description><![CDATA[UI MBProgressHUD MTStatusBarOverlay EGOTableViewPullRefresh EGOTextView PullToRefresh VerticalSwipeArticles SideSwipeTableView CustomTabBar TISwipeableTableView LightMenuBar JMTabView DCIntrospect Three20 Tapku Library CoreTextWrapper NSAttributedString Additions for HTML UIDickBar OpenFlow iBooks Flip Animation SVGKit Data JSON Framework JSONKit EGO Database FMDB MagicalRecord FBEncryptor Objective-C HMTL Parser ElementParser Hpple Hpple (I Add child nodes method) Internet ASIHTTPRequest OAuth Consumer Twitter OAuth MGTwitterEngine AWS [...]]]></description> <content:encoded><![CDATA[<h2>UI</h2><p><a
href="https://github.com/jdg/MBProgressHUD" target="_blank">MBProgressHUD</a></p><p><a
href="https://github.com/myell0w/MTStatusBarOverlay">MTStatusBarOverlay</a></p><p><a
href="https://github.com/enormego/EGOTableViewPullRefresh">EGOTableViewPullRefresh</a></p><p><a
href="https://github.com/enormego/EGOTextView">EGOTextView</a></p><p><a
href="https://github.com/leah/PullToRefresh">PullToRefresh</a></p><p><a
href="https://github.com/boctor/idev-recipes/tree/master/VerticalSwipeArticles">VerticalSwipeArticles</a></p><p><a
href="https://github.com/boctor/idev-recipes/tree/master/SideSwipeTableView">SideSwipeTableView</a></p><p><a
href="https://github.com/boctor/idev-recipes/tree/master/CustomTabBar">CustomTabBar</a></p><p><a
href="https://github.com/thermogl/TISwipeableTableView" target="_blank">TISwipeableTableView</a></p><p><a
href="https://github.com/pppoe/LightMenuBar">LightMenuBar</a></p><p><a
href="https://github.com/jasonmorrissey/JMTabView">JMTabView</a></p><p><a
href="https://github.com/domesticcatsoftware/DCIntrospect">DCIntrospect</a></p><p><a
href="http://three20.info/" target="_blank">Three20</a></p><p><a
href="https://github.com/devinross/tapkulibrary">Tapku Library</a></p><p><a
href="https://github.com/akosma/CoreTextWrapper">CoreTextWrapper</a></p><p><a
href="https://github.com/Cocoanetics/NSAttributedString-Additions-for-HTML" target="_blank">NSAttributedString Additions for HTML</a></p><p><a
href="https://github.com/digdog/UIDickBar">UIDickBar</a></p><p><a
href="https://github.com/thefaj/OpenFlow">OpenFlow</a></p><p><a
href="https://github.com/devindoty/iBooks-Flip-Animation">iBooks Flip Animation</a></p><p><a
href="https://github.com/mattrajca/SVGKit">SVGKit</a></p><h2>Data</h2><p><a
href="https://github.com/stig/json-framework" target="_blank">JSON Framework</a></p><p><a
href="https://github.com/johnezang/JSONKit">JSONKit</a></p><p><a
href="https://github.com/enormego/egodatabase" target="_blank">EGO Database</a></p><p><a
href="https://github.com/ccgus/fmdb" target="_blank">FMDB</a></p><p><a
href="https://github.com/magicalpanda/MagicalRecord">MagicalRecord</a></p><p><a
href="https://github.com/dev5tec/FBEncryptor">FBEncryptor</a></p><p><a
href="https://github.com/zootreeves/Objective-C-HMTL-Parser">Objective-C HMTL Parser</a></p><p><a
href="https://github.com/Objective3/ElementParser">ElementParser</a></p><p><a
href="https://github.com/topfunky/hpple">Hpple</a></p><p><a
href="https://github.com/doskoi/hpple">Hpple (I Add child nodes method)</a></p><h2>Internet</h2><p><a
href="http://allseeing-i.com/ASIHTTPRequest/" target="_blank">ASIHTTPRequest</a></p><p><a
href="https://github.com/jdg/oauthconsumer">OAuth Consumer</a></p><p><a
href="https://github.com/bengottlieb/Twitter-OAuth-iPhone" target="_blank">Twitter OAuth</a></p><p><a
href="https://github.com/mattgemmell/MGTwitterEngine" target="_blank">MGTwitterEngine</a></p><p><a
href="https://github.com/amazonwebservices/aws-sdk-for-ios">AWS SDK for iOS</a></p><p><a
href="http://www.omnigroup.com/company/developer">OmniGroup</a></p><p><a
href="https://github.com/futuretap/FTLocationSimulator">FTLocationSimulator</a></p><p><a
href="https://github.com/route-me/route-me">Rout Me</a></p><h2>Other</h2><p><a
href="https://github.com/kaler/CrashKit" target="_blank">CrashKit</a></p><p><a
href="http://www.getsharekit.com/" target="_blank">ShareKit</a></p><p><a
href="https://github.com/futuretap/InAppSettingsKit">InAppSettingsKit</a></p><p><a
href="https://github.com/runmad/GiftKit">GiftKit</a></p><p><a
href="https://github.com/mattgallagher/AudioStreamer">Audio Streamer</a></p><p><a
href="https://github.com/atebits/SimFinger">Sim Finger</a></p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/08/ios-opensource-library-collection/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>O ha yo, AWS</title><link>http://sh3ng.com/2011/07/o-ha-yo-aws/</link> <comments>http://sh3ng.com/2011/07/o-ha-yo-aws/#comments</comments> <pubDate>Wed, 27 Jul 2011 18:01:13 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Web]]></category> <category><![CDATA[amazon]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[ec2]]></category> <category><![CDATA[linode]]></category> <category><![CDATA[s3]]></category> <guid
isPermaLink="false">http://sh3ng.com/2011/07/o-ha-yo-aws/</guid> <description><![CDATA[We&#8217;re run instance on EC2 Tokyo now.]]></description> <content:encoded><![CDATA[<p>We&#8217;re run instance on EC2 Tokyo now.</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/07/o-ha-yo-aws/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>iOS User Interface Debugging Library</title><link>http://sh3ng.com/2011/06/ios-user-interface-debugging-library/</link> <comments>http://sh3ng.com/2011/06/ios-user-interface-debugging-library/#comments</comments> <pubDate>Wed, 08 Jun 2011 07:13:45 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[iOS]]></category> <guid
isPermaLink="false">http://sh3ng.com/?p=593</guid> <description><![CDATA[introspect also access on GitHub.]]></description> <content:encoded><![CDATA[<p><a
href="http://domesticcat.com.au/projects/introspect/">introspect</a> also access on <a
href="https://github.com/domesticcatsoftware/DCIntrospect">GitHub</a>.</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/06/ios-user-interface-debugging-library/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>Git in a nutshell</title><link>http://sh3ng.com/2011/05/git-in-a-nutshell/</link> <comments>http://sh3ng.com/2011/05/git-in-a-nutshell/#comments</comments> <pubDate>Sun, 29 May 2011 04:16:25 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Dev]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[git]]></category> <guid
isPermaLink="false">http://sh3ng.com/2011/05/git-in-a-nutshell/</guid> <description><![CDATA[Introduce a great site GitRef, Easy learn git less in a hour.]]></description> <content:encoded><![CDATA[<p>Introduce a great site <a
href="http://gitref.org">GitRef</a>,
Easy learn git less in a hour.</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/05/git-in-a-nutshell/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>iOS Device Recording Resolution</title><link>http://sh3ng.com/2011/05/ios-device-recording-resolution/</link> <comments>http://sh3ng.com/2011/05/ios-device-recording-resolution/#comments</comments> <pubDate>Mon, 02 May 2011 17:12:11 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[iOS]]></category> <category><![CDATA[ios]]></category> <category><![CDATA[preset]]></category> <guid
isPermaLink="false">http://sh3ng.com/2011/05/ios-device-recording-resolution/</guid> <description><![CDATA[AVFoundation Cheatsheet (Click to Download). I made this as PDF file.]]></description> <content:encoded><![CDATA[<p><a
href="http://sh3ng.com/wp-content/uploads/2011/05/AVFoundation-Cheatsheet.pdf">AVFoundation Cheatsheet</a> (Click to Download).
I made this as PDF file.</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/05/ios-device-recording-resolution/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>April</title><link>http://sh3ng.com/2011/04/april/</link> <comments>http://sh3ng.com/2011/04/april/#comments</comments> <pubDate>Tue, 26 Apr 2011 06:10:57 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Cocoa]]></category> <category><![CDATA[iOS]]></category> <category><![CDATA[hpple]]></category> <category><![CDATA[html]]></category> <category><![CDATA[ios]]></category> <category><![CDATA[parse]]></category> <category><![CDATA[realm]]></category> <category><![CDATA[WoW]]></category> <guid
isPermaLink="false">http://sh3ng.com/?p=536</guid> <description><![CDATA[Finally, World of Warcraft Realm Status for Cataclysm released, There prase HTML via hpple use XPath, very cool staff for developer. But hpple has a huge performance question, It&#8217;s can&#8217;t directly use child element for query result . Have to query search again, If use it at a big table, will take long minutes for parsing. [...]]]></description> <content:encoded><![CDATA[<p>Finally, <a
title="World of Warcraft Realm Status for Cataclysm" href="http://itunes.apple.com/app/wow-realm-status-for-cataclysm/id324513810?mt=8" target="_blank">World of Warcraft Realm Status for Cataclysm</a> released,</p><p>There prase HTML via <a
href="https://github.com/topfunky/hpple" target="_blank">hpple</a> use XPath, very cool staff for developer.</p><p>But hpple has a huge performance question, It&#8217;s can&#8217;t directly use child element for query result . Have to query search again, If use it at a big table, will take long minutes for parsing.</p><p>I was made a hack, add child elements support for hpple, It&#8217;s save 95% time when parse a complex html, I will fork this on github soon.</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/04/april/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>On top of the app store.</title><link>http://sh3ng.com/2011/02/on-top-of-the-app-store/</link> <comments>http://sh3ng.com/2011/02/on-top-of-the-app-store/#comments</comments> <pubDate>Thu, 03 Feb 2011 04:04:55 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Dev]]></category> <category><![CDATA[Life]]></category> <category><![CDATA[ios dev]]></category> <guid
isPermaLink="false">http://sh3ng.com/2011/02/on-top-of-the-app-store/</guid> <description><![CDATA[The app Coin-parking Navi I was made now 1st in Japan App Store navigation category. :D]]></description> <content:encoded><![CDATA[<p>The app Coin-parking Navi I was made now 1st in Japan App Store navigation category. :D</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2011/02/on-top-of-the-app-store/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>dSYM wtf</title><link>http://sh3ng.com/2010/04/dsym-wtf/</link> <comments>http://sh3ng.com/2010/04/dsym-wtf/#comments</comments> <pubDate>Fri, 23 Apr 2010 11:42:12 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Cocoa]]></category> <category><![CDATA[dSYM]]></category> <category><![CDATA[xcode]]></category> <guid
isPermaLink="false">http://sh3ng.com/?p=439</guid> <description><![CDATA[在XCODE编译项目之后,会在app旁看见一个同名的dSYM文件. 他是一个编译的中转文件,简单说就是debug的symbols包含在这个文件中. 他有什么作用? 当release的版本 crash的时候,会有一个日志文件,包含出错的内存地址, 使用symbolicatecrash工具能够把日志和dSYM文件转换成可以阅读的log信息,也就是将内存地址,转换成程序里的函数或变量和所属于的文件名. 有一篇详细的blog讲了这个过程 http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/ 将类似 Thread 0 Crashed: 0 libobjc.A.dylib 0x300c87ec 0x300bb000 + 55276 1 MobileLines 0&#215;00006434 0&#215;1000 + 21556 2 MobileLines 0x000064c2 0&#215;1000 + 21698 3 UIKit 0x30a740ac 0x30a54000 + 131244 的log信息转换成 Thread 0 Crashed: 0 libobjc.A.dylib 0x300c87ec objc_msgSend + 20 1 MobileLines 0&#215;00006434 -[BoardView setSelectedPiece:] (BoardView.m:321) 2 MobileLines 0x000064c2 [...]]]></description> <content:encoded><![CDATA[<p>在XCODE编译项目之后,会在app旁看见一个同名的dSYM文件.
他是一个编译的中转文件,简单说就是debug的symbols包含在这个文件中.</p><p>他有什么作用? 当release的版本 crash的时候,会有一个日志文件,包含出错的内存地址, 使用symbolicatecrash工具能够把日志和dSYM文件转换成可以阅读的log信息,也就是将内存地址,转换成程序里的函数或变量和所属于的文件名. <span
id="more-439"></span> 有一篇详细的blog讲了这个过程
http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/</p><p>将类似</p><blockquote>Thread 0 Crashed:
0   libobjc.A.dylib           0x300c87ec 0x300bb000 + 55276
1   MobileLines               0&#215;00006434 0&#215;1000 + 21556
2   MobileLines               0x000064c2 0&#215;1000 + 21698
3   UIKit                     0x30a740ac 0x30a54000 + 131244</blockquote><p>的log信息转换成</p><blockquote>Thread 0 Crashed:
0   libobjc.A.dylib           0x300c87ec objc_msgSend + 20
1   MobileLines               0&#215;00006434 -[BoardView setSelectedPiece:] (BoardView.m:321)
2   MobileLines               0x000064c2 -[BoardView touchesBegan:withEvent:] (BoardView.m:349)
3   UIKit                     0x30a740ac -[UIWindow sendEvent:] + 264</blockquote><p>的有用信息.</p><p>工具symbolicatecrash隐藏在/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash</p><p>所以一般复制到/usr/local/bin/ 成为命令行直接调用</p><blockquote>$ sudo cp /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash /usr/local/bin/</blockquote><p>这个时候运行</p><blockquote>$ symbolicatecrash -h</blockquote><p>就能看见帮助信息了.</p><p>这个时候,问题又来了..每次编译后的dsym文件都要手动保存一次,很是麻烦.</p><p>于是有人写了一个脚本,自动在编译后保存该文件.
请参考:
http://www.cimgf.com/2009/12/23/automatically-save-the-dsym-files/</p><p>脚本我复制过来在下面</p><blockquote> #!/bin/sh
if [ "$BUILD_STYLE" == "Debug" ]; then
echo &#8220;Skipping debug&#8221;
exit 0;
fi
if [ "$EFFECTIVE_PLATFORM_NAME" == "-iphonesimulator" ]; then
echo &#8220;Skipping simulator build&#8221;
exit 0;
fi
SRC_PATH=${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}
RELATIVE_DEST_PATH=dSYM/${EXECUTABLE_NAME}.$(date +%Y%m%d%H%M%S).app.dSYM
DEST_PATH=${PROJECT_DIR}/${RELATIVE_DEST_PATH}
echo &#8220;moving ${SRC_PATH} to ${DEST_PATH}&#8221;
mv &#8220;${SRC_PATH}&#8221; &#8220;${DEST_PATH}&#8221;
if [ -f ".git/config" ]; then
git add &#8220;${RELATIVE_DEST_PATH}&#8221;
git commit -m &#8220;Added dSYM file for ${BUILD_STYLE} build&#8221; &#8220;${RELATIVE_DEST_PATH}&#8221;
fi</blockquote> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2010/04/dsym-wtf/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> <item><title>视力降低了吗，为什么看UILabel中的文字很模糊！</title><link>http://sh3ng.com/2010/02/%e8%a7%86%e5%8a%9b%e9%99%8d%e4%bd%8e%e4%ba%86%e5%90%97%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e7%9c%8builabel%e4%b8%ad%e7%9a%84%e6%96%87%e5%ad%97%e5%be%88%e6%a8%a1%e7%b3%8a%ef%bc%81/</link> <comments>http://sh3ng.com/2010/02/%e8%a7%86%e5%8a%9b%e9%99%8d%e4%bd%8e%e4%ba%86%e5%90%97%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e7%9c%8builabel%e4%b8%ad%e7%9a%84%e6%96%87%e5%ad%97%e5%be%88%e6%a8%a1%e7%b3%8a%ef%bc%81/#comments</comments> <pubDate>Wed, 10 Feb 2010 12:55:17 +0000</pubDate> <dc:creator>黑眼圈</dc:creator> <category><![CDATA[Dev]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[blur]]></category> <category><![CDATA[xcode]]></category> <guid
isPermaLink="false">http://sh3ng.com/?p=391</guid> <description><![CDATA[喔喔，在使用UILabel等继承于UIView的控件时,如果frame的rect不是整数的情况下,就会显示起来看得很模糊.这通常出现在代码控制的界面中，控件是由计算的数值所决定的位置的时候。 解决方法就是把浮点数转换成整形。]]></description> <content:encoded><![CDATA[<p>喔喔，在使用UILabel等继承于UIView的控件时,如果frame的rect不是整数的情况下,就会显示起来看得很模糊.这通常出现在代码控制的界面中，控件是由计算的数值所决定的位置的时候。</p><p>解决方法就是把浮点数转换成整形。</p> ]]></content:encoded> <wfw:commentRss>http://sh3ng.com/2010/02/%e8%a7%86%e5%8a%9b%e9%99%8d%e4%bd%8e%e4%ba%86%e5%90%97%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e7%9c%8builabel%e4%b8%ad%e7%9a%84%e6%96%87%e5%ad%97%e5%be%88%e6%a8%a1%e7%b3%8a%ef%bc%81/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license> </item> </channel> </rss>
