- 博客(3)
- 收藏
- 关注
转载 使用开源库 SDWebImage 异步下载缓存图片(持续更新)
source https://github.com/rs/SDWebImage APIdoc http://hackemist.com/SDWebImage/doc Asynchronous image downloader with cache support with an UIImageView category UIImageView的类目,支持异步图片下载,支持缓存机制
2015-05-08 11:49:51 306
转载 UIView 的旋转与缩放以及同时应用两种效果(一)
对于UIView的缩放,最简单的方法可以是修改view的frame,这里不做讨论。 我们来讨论一下 CGAffineTransform在UIView的缩放与旋转上的应用。以下假设view为UIView的一个实例。 1. UIView的缩放 CGAffineTransform 提供了两个方法用于缩放,分别是CGAffineTransform CGAffineTransformMakeScale
2015-04-15 16:20:01 592
转载 iOS事件传递之hitTest:withEvent
一、系统是怎么找到接收触摸事件发生的视图的? --只通过UIView及其子类查找 0 调用根视图的hitTtest:withEvent,其的执行过程如下: Ie calls pointInside:withEvent:of selfIf the return is NO, hitTest:withEvent: returns nil. the end of the story.If
2015-03-27 18:05:04 385
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人