title: SWIFT "3 levels array"
body: <p>I have a little problem with using arrays and declaring it in swift 5 on OSX:</p>
  <ul>
  <li><p>I know an <code>[[String]]</code> is an array of arrays like <code>[[&quot;team1&quot;, &quot;2 goals&quot;], [&quot;team2&quot;, &quot;0 goals&quot;]]</code>. Well it's easy for my, but let me explain my case:</p>
  </li>
  <li><p>I have an array of &quot;Systems&quot;, which is like -&gt; <code>[&quot;nes&quot;, &quot;Xbox&quot; , &quot;ps2&quot;]</code></p>
  </li>
  <li><p>every &quot;System&quot; have &quot;Games&quot; and every &quot;game&quot; in &quot;Games&quot; have an array of properties like &quot;name&quot;, &quot;thumbnail&quot;, &quot;video&quot;, etc...</p>
  </li>
  </ul>
  <p>I need to create an array like -&gt;</p>
  <pre><code>[&quot;xbox&quot; , [[&quot;game1&quot;,array of properties],[&quot;game2&quot;, array of properties]]]
  </code></pre>
  <p>I tried to define an <code>[[[String]]]</code></p>
  <pre><code>var allMyGames = [[[String]]]()
  </code></pre>
  <p>but I don´t know how to myGames.append this...</p>
  <p>I have an array named <code>myGames = [[String]]()</code> which contains data like [&quot;game1&quot;, &quot;property1&quot;, &quot;property2&quot; ,&quot;property3&quot;] [&quot;game2&quot;, &quot;property1&quot;, &quot;property2&quot; ,&quot;property3&quot;]</p>
  <p>and another array with the systems <code>mySystems = [String]()</code> my contains data like <code>[&quot;nes&quot;, &quot;xbox&quot;, &quot;ps2&quot;]</code></p>
  <p>Any idea?</p>
  <p>thanks in advance</p>