title: Swift: Setting the Value of a Nested Dictionary?
body: <p>Say I have array of dictionaries like so:</p>
  
  <pre><code>var dict = [
               [
          "subcategories": [
                              [ "name": "ATV", "type": "boolean", "value": "0"],
                              [ "name": "Bike Paths", "type": "boolean", "value": "0"]
                          ]
           ]
      ]
  </code></pre>
  
  <p>In playground, I can set the values of the dictionary like this:</p>
  
  <pre><code>dict[0]["subcategories"]![1]["name"] = "abc"
  </code></pre>
  
  <p>But in Xcode 5 Beta 5, I get the compiler error <code>(String, AnyObject) does not have a member name 'subscript'</code>. Any ideas? </p>