title: UIPickerView select row where title == String in Swift
body: <p>I have a <code>UIPickerView</code> and I would like to select a row where title is equal to String , which I receive from my php/mysql script.</p>
  
  <p>Let's say that this is my Array:</p>
  
  <pre><code>var myArray = ["First","Second","Third","Fourth","Sixth","Seventh"]
  </code></pre>
  
  <p>And this is what I get from my php script (That's what I want my <code>UIPickerView</code> to select.):</p>
  
  <pre><code>let myString = "Second"
  </code></pre>
  
  <p>So my question is: </p>
  
  <p>How can I do something like this: <code>self.myPicker.selectRow(1, inComponent: 0, animated: true)</code> but I want myPicker to select row with title: "Second".</p>
  
  <p>I have found this question but it is in objective-c : <a href="https://stackoverflow.com/questions/15976162/uipickerview-set-selected-row-by-title">UIPickerView Set Selected Row by Title</a></p>
  
  <p>Thank you very much!</p>