IOS事件传递之hitTest:withEvent

摘要: 一、系统是怎么找到接收触摸事件发生的视图的? --只通过UIView及其子类查找 0 调用根视图的hitTtest:withEvent,其的执行过程如下:Ie calls pointInside:withEvent:of selfIf the return is NO,hitTest:withEv... 阅读全文
posted @ 2014-03-22 10:40 IOS开发... 阅读(3347) 评论(0) 推荐(0)

<转>Singletons in Objective-C

摘要: 单例模式的实现 阅读全文
posted @ 2014-02-07 16:45 IOS开发... 阅读(237) 评论(0) 推荐(0)