Have problem error in next obj-c code.
if (fabs(originalLocation.timestamp - ((CLLocation *)[lastLocations objectAtIndex:i]).timestamp) > constAverageLocationTimeout)
{
//do
}
xCode sent err:
error: Semantic Issue: Arithmetic on pointer to interface 'NSDate', which is not a constant size in non-fragile ABI
Have any ideas?
your program (and the location of the compiler error) would make a lot more sense if you broke it up a little. perhaps something like:
specifically,
timestampis a property of typeNSDate, not a scalar number such as an NSTimeInterval.