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

LINUX Move and copy files using SSH

PHP Predefined Variables

Java : Variables Declaring