Chuck嘅部落格

Simple is the best

设置Safari默认的User Agent为ipad浏览 defaults write com.apple.Safari CustomUserAgent "'Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3'" &n...

发布 0 条评论

assign就不用说了,因为基本上是为简单数据类型准备的,而不是NS对象们。 Retain vs. Copy copy : 建立一个索引计数为1的对象,然后释放旧对象 retain :释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1 那...

发布 0 条评论

Today is a lucky day, I finally have my first sites on Internet. We often lose many beautiful moments in our lives. So I decided to record my moments on the net, whether  you or me, witnessing my growth together.

发布 0 条评论