上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @endViewController.m 1 #import "ViewController.h" 2 #import "KMTriang... 阅读全文
posted @ 2015-06-17 17:43 KenmuHuang 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @property (strong, nonatomic) UIImage *imgSnowflake;5 6 @endViewContr... 阅读全文
posted @ 2015-06-17 17:38 KenmuHuang 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @property (strong, nonatomic) UIImageView *imgVAnimation;5 6 @endView... 阅读全文
posted @ 2015-06-17 17:20 KenmuHuang 阅读(405) 评论(0) 推荐(0) 编辑
摘要: (1)UIImageView 的动画操作,来自定义循环播放动画(不建议使用,内存消耗大)(2)CADisplayLink 是一个计时器,但是同 NSTimer 不同的是,CADisplayLink 的刷新周期同屏幕完全一致。例如在 iOS 中屏幕刷新周期是60次/秒,CADisplayLink 刷新... 阅读全文
posted @ 2015-06-16 18:40 KenmuHuang 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: 一张图片,通过混合模式绘制后,能得到不同效果的图片。这里的示例仅是测试效果;实际上可以通过不同程度的混合模式绘制,来得到符合需求的效果。效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @... 阅读全文
posted @ 2015-06-16 18:23 KenmuHuang 阅读(2160) 评论(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 阅读(455) 评论(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 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataList;5 @pr... 阅读全文
posted @ 2015-06-16 17:27 KenmuHuang 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataSource;5 6... 阅读全文
posted @ 2015-06-16 16:42 KenmuHuang 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 类似的做法如之前这篇随笔:114自定义UITableViewCell(扩展知识:为UITableViewCell添加动画效果)相比之下:自定义 UITableViewCell的内容灵活,可根据需求调整展示效果,应用场景更广;一般适用于TableView自带的单元格样式无法实现的效果。效果如下:Vie... 阅读全文
posted @ 2015-06-16 15:10 KenmuHuang 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataSource;5 6... 阅读全文
posted @ 2015-06-16 11:55 KenmuHuang 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 关键操作:效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) NSMutableArray *mArrDataList;... 阅读全文
posted @ 2015-06-16 11:35 KenmuHuang 阅读(3239) 评论(1) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UITableViewController4 @property (strong, nonatomic) UISearchBar *searchBar;5 @property... 阅读全文
posted @ 2015-06-15 23:26 KenmuHuang 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @property (strong, nonatomic) UIDatePicker *datePChoice;5 @property (... 阅读全文
posted @ 2015-06-15 21:19 KenmuHuang 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 效果如下:ViewController.h1 #import 2 3 @interface ViewController : UIViewController4 @property (strong, nonatomic) UIDatePicker *datePChoice;5 6 @endViewC... 阅读全文
posted @ 2015-06-15 21:14 KenmuHuang 阅读(868) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
如果您看完本篇博文,觉得对您有所收获,请点击右下角的 [推荐]
如果您想转载,请注明出处(原创内容,请尊重个人劳动成果)
如果您有任何意见或建议,欢迎留言
感谢您的阅读,敬请关注我的后续博客文章