The quick question is, is there a way to specify @selector, which is a method for another object. I am currently confusing the solution using the local method to call the remote method, but it feels awkward.
[NSTimer scheduledTimerWithTimeInterval:10 target:self selector:@selector(timerLocation) userInfo:nil repeats:YES]];
.
- (void)timerLocation {
[[self dataModel] startUpdatingLocation];
}
source
share