In Chapter 13, on Animations, towards the end of the Animating Movement section, when starting the asteroid animation, the text instructs you to:
Add the following else statement to the completion closure of getCurrentISSLocation():
if self.stationMarker.isHidden {
…
} else {
self.asteroidView.animateRandomFlyBy()
}
It should instead read:
Add the following else statement to the completion closure of updateCurrentISSLocation():