title: Allow Animation to Complete Before Next Line
body: <pre><code> @IBAction func rollButtonPressed(_ sender: UIButton) {
      animateImages()
      displayFinalOutcome()   
  }
  </code></pre>
  
  <p>The problem here is that, the final outcome is displayed too quickly before the animation can finish. The animation is <code>UIImage.animatedImage</code> applied to an <code>Image View</code>.
  Is there a way to delay the calling of "displayFinalOutcome" ?</p>
  
  <p>I have spent no less than an hour on this. Any advice is much appreciated.</p>