2013年5月11日
摘要: 不进行讲解,直接上代码。1 #import <Foundation/Foundation.h>2 3 @interface Demo01 : NSObject4 5 6 -(void) run;7 -(void) start;8 9 @end 1 #import "Demo01.h" 2 3 @implementation Demo01 4 5 -(void) run 6 { 7 static int counter = 0; 8 9 while(![[NSThread currentThread]isCancelled]){10 [NSThrea... 阅读全文
posted @ 2013-05-11 22:22 wangwangheng 阅读(284) 评论(0) 推荐(0)