title: check if a value matches a key in a list of custom array elements and retrieve its value
body: <p>I have an two arrays of custom data in Swift. I'd like to find the object that contains value of dictionaries whose "Destination" equals to the 'PlaceId' in second array. here is the structs with some data just to show what they will look like. </p>
  
  <pre><code>struct FlightInfo {
  var minPrice = "648"
  var carrier = "Canada Air ways"
  var destination = "973973"
  var origin = "983983"
  }
  
  
  struct PlaceData {
  var cityName = "Melbourne"
  var name = "Melbourne"
  var cityId = "MEL"
  var type = "blah"
  var countryName = "Australia"
  var placeId = 983983
  }
  </code></pre>
  
  <p>I got this thus far:</p>
  
  <pre><code>    let destId = flightsArray[indexPath.row].destination as String
      let results = listOfPlaces.filter { $0.placeId == Int(destId) }
  </code></pre>
  
  <p>but no cigar. How can I end up with something like following as the final result:</p>
  
  <pre><code>cell.destinationLabel.text = results.placeID
  </code></pre>