IOS How to using nsthread

 [NSThread detachNewThreadSelector:@selector(render) toTarget:self withObject:nil];
 or 
 NSThread *myThread =[[NSThread alloc]initWithTarget:self selector:@selector(render) object:nil];
 [myThread start]; 
 
- (void)render {
    // do something 
} 

Comments

Popular posts from this blog

Java : Variables Declaring

SQL Self JOIN