title: How can I create Associative array in Swift 3
body: <p>Hi I am very new to Swift and am trying to use array.</p>
  
  <p>I want to create an array in swift3 similar to this PHP array as below:</p>
  
  <pre><code>$countries = array(
                     "UK"=&gt;array(
                            "gold_medal" =&gt; 59,
                            "prime_minister" =&gt; 'XYZ'
                                ),
                      "Germany"=&gt;array(
                            "gold_medal" =&gt; 17,
                            "prime_minister" =&gt; 'abc'
                                ),
                    )
  </code></pre>
  
  <p>In the array above the country name are dynamic variables.</p>