I am trying to derive a DR fix from an initialized CLLocation. Like this. (Playground)
let fixTime = NSDate(timeInterval: (1.00 * 60.00 * 60.00 * -1.00), sinceDate: NSDate()) // one hour ago let fixLocation = CLLocation(coordinate: CLLocationCoordinate2DMake(boatLocation.coordinate.latitude, boatLocation.coordinate.longitude), altitude: 0.00, horizontalAccuracy: 0.00, verticalAccuracy: 0.00,course: heading, speed: knots * 0.51444445, timestamp: fixTime) // location one hour ago I am sure there must be something like….. let drLocation = fixLocation.advanceBySomeArbitraryTime(arbitraryTime) But, this has eluded me so far. Any help would be welcome. Thank you. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com