title: Setting a title of a button from shuffled array - Swift
body: <p>That's my code</p>
  
  <pre><code>    func shuffle() {
      let footballClubsInPoland = GKRandomSource.sharedRandom().arrayByShufflingObjects(in: self.footballClubsInPoland)
      option1.setTitle((footballClubsInPoland[0] as AnyObject).name, for: .normal)
      option2.setTitle((footballClubsInPoland[1] as AnyObject).name, for: .normal)
      print(footballClubsInPoland[0])
      print(footballClubsInPoland[1])
  }
  </code></pre>
  
  <p>My problem is that I can see in a console the objects, that were shuffled, but titles of my buttons are not loading in a simulator. What should I do?</p>