title: Get Random String from an Array
body: <p>I am trying to get a random string from array "firstArray" and print it in UILabel "label". I cannot seem to figure it out and I get errors. Your help is appreciated. I tried searching but could not find any up-to-date tutorials/methods.</p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
      @IBOutlet var label: UILabel!
  
      @IBAction func random(_ sender: Any) {
          let firstArray = [ "hi" , "bye" , "hello"]
      }
  </code></pre>