This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Calculate initial compass bearing between two locations | |
- parameter fromLocation: Source Location | |
- parameter toLocation: Destination Location | |
- returns: bearing (CLLocationDirection) | |
*/ | |
private func bearingFromLocation(fromLocation: CLLocation, toLocation: CLLocation) -> CLLocationDirection { | |