摘要:
(1)UIImageView 的动画操作,来自定义循环播放动画(不建议使用,内存消耗大)(2)CADisplayLink 是一个计时器,但是同 NSTimer 不同的是,CADisplayLink 的刷新周期同屏幕完全一致。例如在 iOS 中屏幕刷新周期是60次/秒,CADisplayLink 刷新... 阅读全文
posted @ 2015-06-16 18:40
KenmuHuang
阅读(1366)
评论(0)
推荐(0)
摘要:
一张图片,通过混合模式绘制后,能得到不同效果的图片。这里的示例仅是测试效果;实际上可以通过不同程度的混合模式绘制,来得到符合需求的效果。效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @... 阅读全文
posted @ 2015-06-16 18:23
KenmuHuang
阅读(2184)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h 1 #import 2 #import "DropDownListViewController.h" 3 4 @interface ViewController : UITableViewController 5 @property (strong, ... 阅读全文
posted @ 2015-06-16 18:00
KenmuHuang
阅读(482)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h 1 #import 2 #import "HeaderViewDelegate.h" 3 #import "HeaderView.h" 4 5 @interface ViewController : UITableViewController 6 @p... 阅读全文
posted @ 2015-06-16 17:36
KenmuHuang
阅读(413)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataList;5 @pr... 阅读全文
posted @ 2015-06-16 17:27
KenmuHuang
阅读(361)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataSource;5 6... 阅读全文
posted @ 2015-06-16 16:42
KenmuHuang
阅读(780)
评论(0)
推荐(0)
摘要:
类似的做法如之前这篇随笔:114自定义UITableViewCell(扩展知识:为UITableViewCell添加动画效果)相比之下:自定义 UITableViewCell的内容灵活,可根据需求调整展示效果,应用场景更广;一般适用于TableView自带的单元格样式无法实现的效果。效果如下:Vie... 阅读全文
posted @ 2015-06-16 15:10
KenmuHuang
阅读(507)
评论(0)
推荐(0)
摘要:
效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataSource;5 6... 阅读全文
posted @ 2015-06-16 11:55
KenmuHuang
阅读(256)
评论(0)
推荐(0)
摘要:
关键操作:效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataList;... 阅读全文
posted @ 2015-06-16 11:35
KenmuHuang
阅读(3259)
评论(1)
推荐(0)

浙公网安备 33010602011771号
感谢您的阅读,敬请关注我的后续博客文章