How to get the first element of a tuple in an array in Swift
<p>I have an array with some tuples inside. How do I get the first item of that tuple inside the array?</p>

<pre><code>let cars = [("cars","cycles"),("stairs","escalator"),("table","chair")]
</code></pre>

<p>I want to get the first item in each tuples
result should be "cars", "stairs", "table"</p>