Swift - best practice to find the longest string at [String] array
<p>I'm trying to find what is the most effective way to get the longest string in a string array. For example :</p>

<pre><code>let array = ["I'm Roi","I'm asking here","Game Of Thrones is just good"]
</code></pre>

<p>and the outcome will be - <code>"Game Of Thrones is just good"</code></p>

<p>I've tried using the <code>maxElement</code> func, tho it's give the max string in a alphabetic ideas(<code>maxElement()</code>).</p>

<p><strong>Any suggestions? Thanks!</strong></p>