摘要: 之前一直不太理解各种属性的区别,可能最多知道copy和retain以及strong与weak ,昨天被问到assign与weak的区别,着实有点傻,不知道如何回答:今天在stackoverflow上看到的回复,理解了不少。After reading so many articles, SO posts and demo apps to check variable property attributes, I decided to put all the attributes information together:atomic //defaultnonatomicstrong=retain 阅读全文
posted @ 2014-04-04 12:15 子文 阅读(652) 评论(0) 推荐(0)
摘要: 对于xml的解析有多种方法,其中之一就是使用TFHpple。下面就自己的项目解析谈谈如何使用这个类。首先下载下面的代码:http://code4app.com/ios/解析HTML/5167ca396803faf447000002加入三个类TFHpple.h,TFHpple.m,TFHppleElement.h,TFHppleElement.m,XPathQuery.h,XPathQuery.m加到自己的项目中,在Frameworks中导入libxml2.x然后需要修改Header Search Paths最后,看看自己的代码: TFHpple *xpathParser = [[TFHpp.. 阅读全文
posted @ 2014-04-02 15:55 子文 阅读(1438) 评论(0) 推荐(0)
摘要: IOS自定义键盘弹出view的位置移动(三种方法) 阅读全文
posted @ 2014-03-02 22:59 子文 阅读(5957) 评论(0) 推荐(0)
摘要: Storyboard 的 segue 学习 阅读全文
posted @ 2013-12-01 10:57 子文 阅读(2461) 评论(0) 推荐(0)
摘要: 我们不会收集你的个人信息以及设备相关信息,更不会分析统计你的数据,我们会连接你的数据网络进行游戏数据分享,请你放心使用。 阅读全文
posted @ 2013-11-24 09:50 子文 阅读(1018) 评论(0) 推荐(0)