摘要:
基本概念-(void)runTimerInThread{ //NSAutoreleasePool,没的用 [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(doSth:) userInfo:self repeats:YES]; //1.以上方法自动把NSTimer添加到RunLoop里面 NSTimer* timer=[NSTimer timerWithTimeInterval:1.0 target:self selector:@selector(doSt... 阅读全文