iphone,objective-c, thread.

iphone,objective-c, thread.

NSThread* myThread = [[NSThread alloc] initWithTarget:self selector:@selector(myThreadMainMethod:) object:nil];
[myThread start];

-(void) myThreadMainMethod: (id) arg {

NSLog(@”Thread checking in…”);
printf(“Thread checking in…\n”);

return;
}