摘要:
- (IBAction)action:(id)sender { NSLog(@"begin%@",[NSDate date]); NSDate * begin =[NSDate date]; NSData * dat =[NSData dataWithContentsOfURL:[NSURL URL 阅读全文
posted @ 2016-04-24 20:50
谢小锋
阅读(143)
评论(0)
推荐(0)
摘要:
- (IBAction)action:(id)sender { count=100; self.thread1=[[NSThread alloc]initWithTarget:self selector:@selector(buy) object:@""]; self.thread2=[[NSThr 阅读全文
posted @ 2016-04-24 20:17
谢小锋
阅读(133)
评论(0)
推荐(0)
摘要:
// // ViewController.m // 多线程 // // Created by 谢泽锋 on 16/4/24. // Copyright © 2016年 xiezefeng. All rights reserved. // #import "ViewController.h" #imp 阅读全文
posted @ 2016-04-24 16:43
谢小锋
阅读(101)
评论(0)
推荐(0)
摘要:
#import <pthread.h> @interface ViewController () @end @implementation ViewController void * run(void *param){ for (int i=0; i<50000; i++) { NSLog(@"ru 阅读全文
posted @ 2016-04-24 16:05
谢小锋
阅读(130)
评论(0)
推荐(0)
摘要:
@autoreleasepool { stu * s=[[[stu allow]init] autorelease];//可以不用release 自动释放会自动销毁 stu * s=[[[stu allow]init] autorelease]autorelease];错误不可以写两次 野指针错误 阅读全文
posted @ 2016-04-24 16:04
谢小锋
阅读(91)
评论(0)
推荐(0)
摘要:
现成框架 sencha-touch phoneGap jQuery mobile bootstrap 阅读全文
posted @ 2016-04-24 15:44
谢小锋
阅读(121)
评论(0)
推荐(0)

浙公网安备 33010602011771号