title: How to extract specific array in Swift 4
body: <p>I want to get array value by it's key. </p>
  
  <p>I set the array with below code inside looping .</p>
  
  <pre><code>let que = Question(questionText: "\(questionWord)", options: quizAnsArr, correctAns: correctArrIndex, wrongAns: -1, isAnswered: false)
  
          quizsArray += [que]
  </code></pre>
  
  <p>Now I get the below array. Here is my array.</p>
  
  <pre><code>[Kanji_Quiz.Question(questionText: "青", options: ["fast", "color", "heart", "blue"], correctAns: 3, wrongAns: -1, isAnswered: false), Kanji_Quiz.Question(questionText: "暑", options: ["owner", "heart", "hot (temperature)", "end"], correctAns: 2, wrongAns: -1, isAnswered: false)]
  </code></pre>
  
  <p>I was calling the value by using  </p>
  
  <pre><code>print(quizsArray[questionText])
  </code></pre>
  
  <p>But it' show error. How can i call the value by index or smth. Please help me. </p>