摘要: [转自]http://idevchina.com/t/20code4app.com 这网站不错,收集各种 iOS App 开发可以用到的代码示例cocoacontrols.com/ 英文版本的lib收集objclibs.com/ 精品lib的收集网站http://www.ityran.com/forum-61-1.html 泰然代码仓库---------------------- emoji ----------------------http://www.easyapns.com/category/just-for-funhttp://www.emoji-cheat-sheet.com/-- 阅读全文
posted @ 2013-10-23 22:43 Clin 阅读(11498) 评论(0) 推荐(2) 编辑
摘要: Q:I want to add some views to UIButton, for example multiple UILabels, UIImages etc. One I add those view they do not get the touch events. How can I pass the touch events to UIButton?Thanks--------A:Set the userInteractionEnabled property of each of the subviews you added to your UIButton to NO. 阅读全文
posted @ 2013-10-23 17:31 Clin 阅读(163) 评论(0) 推荐(0) 编辑
摘要: When thesearchBar:textDidChange:method of the UISearchBarDelegate gets called because of the user tapping the 'clear' button, the searchBar hasn't become the first responder yet, so we can take advantage of that in order to detect when the user in fact intended to clear the search and no 阅读全文
posted @ 2013-10-23 10:54 Clin 阅读(1774) 评论(0) 推荐(0) 编辑