title: Xcode 8 indexing forever when I use an array
body: <pre><code>func buttonAppearance() {
      let buttons = [buttonOneView, buttonTwoView, buttonThreeView, buttonFourView, buttonFiveView, buttonSixView, buttonSevenView, buttonEightView, buttonNineView, buttonTenView, buttonElevenView, buttonTwelveView, previousButtonView, skipButtonView, submitButtonView]
      for button in buttons {
          button?.layer.cornerRadius = 5.0
          button?.layer.shadowOffset = CGSize(width: 2.0, height: 2.0)
          button?.layer.shadowColor = UIColor.red.cgColor
          button?.layer.shadowOpacity = 1.0
  
      }
  }
  </code></pre>
  
  <p>Whenever I comment out the array and any code related to it, the indexing completes and I can run and build just fine. Has anyone else had any issues with this? I researched and saw that it was a bug fixed with Xcode 8.1, but I am all up to date and it's still an issue. I imagine there is a workaround, but that is just dirty.</p>