I am using NSThread
Ex:
NSThread *driverThread = [[NSThread alloc] initWithTarget:self selector:@selector(**pingHomeThread**) object:nil];
[driverThread start];
in AppDelegate.m i want to execute **pingHomeThread** function in another view like myExample.m as
-(void) pingHomeThread{
}
How can i implement this one ?
Just change the target (i don’t know want your ** are doing there but they shouldn’t be), i.e change
to