随笔分类 -  05.IOS多线程

摘要:***********#import "HMViewController.h"@interface HMViewController () @property (weak, nonatomic) IBOutlet UIImageView *imageView;@end@implementation ... 阅读全文
posted @ 2015-09-09 16:34 iso 阅读(1273) 评论(0) 推荐(0)
摘要:******HMSingleton-ARC.h// .h文件#define HMSingletonH(name) + (instancetype)shared##name;// .m文件#define HMSingletonM(name) \static id _instance; \ \+ (id... 阅读全文
posted @ 2015-09-09 16:27 iso 阅读(132) 评论(0) 推荐(0)
摘要:*********// 2D绘图 Quartz2D// 合并图片 -- 水印- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // 1.队列组 dispatch_group_t group = dispa... 阅读全文
posted @ 2015-09-09 16:20 iso 阅读(241) 评论(0) 推荐(0)
摘要:**********#import "HMViewController.h"#import "HMImageDownloader.h"@interface HMViewController ()//@property (nonatomic, strong) HMImageDownloader *do... 阅读全文
posted @ 2015-09-09 16:17 iso 阅读(177) 评论(0) 推荐(0)
摘要:**********延时执行#import "HMViewController.h"@interface HMViewController ()@end@implementation HMViewController- (void)viewDidLoad{ [super viewDidLoad... 阅读全文
posted @ 2015-09-09 16:11 iso 阅读(1111) 评论(0) 推荐(0)
摘要:**************//// HMViewController.m// 08-GCD02-队列的使用(了解)//// Created by apple on 14-9-15.// Copyright (c) 2014年 heima. All rights reserved.//// ... 阅读全文
posted @ 2015-09-08 18:02 iso 阅读(196) 评论(0) 推荐(0)
摘要:****#define HMGlobalQueue dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)#define HMMainQueue dispatch_get_main_queue()#import "HMViewCon... 阅读全文
posted @ 2015-09-08 17:59 iso 阅读(160) 评论(0) 推荐(0)
摘要:****#import "HMViewController.h"@interface HMViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@end@implementation HMViewCo... 阅读全文
posted @ 2015-09-08 17:55 iso 阅读(129) 评论(0) 推荐(0)
摘要:****#import "HMViewController.h"@interface HMViewController ()@end@implementation HMViewController- (void)viewDidLoad{ [super viewDidLoad]; // D... 阅读全文
posted @ 2015-09-08 17:54 iso 阅读(133) 评论(0) 推荐(0)
摘要:***#import "HMViewController.h"#import @interface HMViewController ()@end@implementation HMViewControllervoid *run(void *data){ for (int i = 0; i<1... 阅读全文
posted @ 2015-09-08 17:51 iso 阅读(138) 评论(0) 推荐(0)