<div dir="ltr">Hello, community.<br><br>As I understood from documentation the only way to iterate multidimensional array or a dictionary (with for loop) is this:<br><br><div>let multidimensionalDictionary = [&quot;a&quot;:[&quot;b&quot;: &quot;c&quot;], &quot;b&quot;:[&quot;c&quot;: &quot;d&quot;], &quot;c&quot;: [&quot;d&quot;: &quot;e&quot;]]</div><div>for (key, value) in multidimensionalDictionary {<br></div><div>    for (nestedKey, nestedValue) in value {</div><div>        print(&quot;\(key) -&gt; \(nestedKey) -&gt; \(nestedValue)&quot;)</div><div>    }</div><div>}</div><div><br></div><div>What do you think about this syntax?<br><div>for (key, nestedKey, nestedValue) in multidimensionalDictionary {</div><div>    print(&quot;\(key) -&gt; \(nestedKey) -&gt; \(nestedValue)&quot;)</div><div>}<br><br><br>--<br>I&#39;m new to mailing list feature. If I do something wrong please let me know about it.<br><br>Best regards,<br>Maxim</div></div></div>