Archive for the 'Dev' Category

iOS Device Recording Resolution

May 03 2011 Published by under iOS

AVFoundation Cheatsheet (Click to Download). I made this as PDF file.

No responses yet

April

Apr 26 2011 Published by under Cocoa,iOS

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’s can’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.

I was made a hack, add child elements support for hpple, It’s save 95% time when parse a complex html, I will fork this on github soon.

No responses yet

On top of the app store.

Feb 03 2011 Published by under Dev,Life

The app Coin-parking Navi I was made now 1st in Japan App Store navigation category. :D

No responses yet

dSYM wtf

Apr 23 2010 Published by under Cocoa

在XCODE编译项目之后,会在app旁看见一个同名的dSYM文件. 他是一个编译的中转文件,简单说就是debug的symbols包含在这个文件中.

他有什么作用? 当release的版本 crash的时候,会有一个日志文件,包含出错的内存地址, 使用symbolicatecrash工具能够把日志和dSYM文件转换成可以阅读的log信息,也就是将内存地址,转换成程序里的函数或变量和所属于的文件名. Continue Reading »

No responses yet

视力降低了吗,为什么看UILabel中的文字很模糊!

Feb 10 2010 Published by under Dev,Tips

喔喔,在使用UILabel等继承于UIView的控件时,如果frame的rect不是整数的情况下,就会显示起来看得很模糊.这通常出现在代码控制的界面中,控件是由计算的数值所决定的位置的时候。

解决方法就是把浮点数转换成整形。

No responses yet

« Prev - Next »