摘要: UIControl,相信大家对其并不陌生吧,比如平常最常用的UIButton就是继承自UIControl的。按照惯例,还是先来看看为什么有UIControl这个类?什么时候用到它?查下文档就可以看到其是继承自UIView的,而对于其用途,官方对其有这么一段描述:To observe or modify the dispatch of action messages to targets for particular eventsTo do this, overridesendAction:to:forEvent:, evaluate the passed-in selector, target 阅读全文
posted @ 2013-08-22 22:32 mapleyuan 阅读(2209) 评论(0) 推荐(0) 编辑