Ch 13 errata when adding asteroid animation

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():

@afinque Thanks very much for sharing this with us, I will let the author know!

All the best!

This topic was automatically closed after 166 days. New replies are no longer allowed.