Ro.bber

Road endless its long and far, I will seek up and down.


  • 首页

  • 标签

  • 归档

  • 分类

  • 关于

  • 搜索

UIImageView添加圆角的几种方法

发表于 2017-06-22 | 分类于 iOS
| 字数统计 585

创建一个UIImageView对象:

1
UIImageView * poImgView = [[UIImageView alloc] init];

阅读全文 »

GCD:串行/并行/主队列下,同步/异步的执行方式

发表于 2017-06-22 | 分类于 iOS
| 字数统计 796

GCD中获取各种类型的队列:

1
2
3
4
5
6
7
8
//获取串行的队列
dispatch_queue_t singalQueue = dispatch_queue_create("single",DISPATCH_QUEUE_SERIAL);
//获取并发执行的队列
dispatch_queue_t concrtQueue = dispatch_queue_create("queue", DISPATCH_QUEUE_CONCURRENT);
//获取主队列
dispatch_queue_t mainQueue = dispatch_get_main_queue();
//获取全局的队列(并发的)
dispatch_queue_t gobalqueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);

阅读全文 »
1…45
Ro.bber

Ro.bber

路漫漫其修远兮,吾将上下而求索。
Road endless its long and far,
I will seek up and down.

42 文章
4 分类
59 标签
RSS
GitHub 简书
© 2017 - 2018 Ro.bber Ro.bber's Blog 全站共35.6k字
本站访客数 人 本站总访问量 人次