
Untitled
By: a guest on
Jun 30th, 2012 | syntax:
None | size: 0.61 KB | hits: 14 | expires: Never
I can't understand what this statement means. [newLocation.timestamp timeIntervalSince1970] < [NSDate timeIntervalSinceReferenceDate] - 60
-(void) locationManager:(CLLocationManager *) manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:(CLLocation *)oldLocation
{
if ([newLocation.timestamp timeIntervalSince1970] < [NSDate timeIntervalSinceReferenceDate] - 60)
return;
}
if ([newLocation.timestamp timeIntervalSince1970] < [NSDate timeIntervalSince1970] - 60)
if ([newLocation.timestamp timeIntervalSinceReferenceDate] < [NSDate timeIntervalSinceReferenceDate] - 60)