Is there another approach to a huge list of dictionaries of lists for iOS Swift 2? -Xcode stuck at indexing
<p>I'm new to Swift 2 Language and I came from Python. I have this structure for a mobile app project:</p>

<pre><code>var college = ["Bachelor of Science in Computer Science":
                ["First Year":
                  ["First Semester": [
                      "Course Code": [&lt;values&gt;],
                      "Course Description": [&lt;values&gt;],
                      "Course Units": [&lt;values&gt;]
                      ],  // End of First Semester
                   "Second Semester": [
                      "Course Code": [&lt;values&gt;],
                      "Course Description": [&lt;values],
                      "Course Units": [&lt;values&gt;]
                      ]   // End of Second Semester
                  ],  // End of First Year
                 // Continue up to Fourth Year (Fifth Year if there's any)
                 // Continue to next Degree for the current college
              ]  // End of variable
</code></pre>

<p>Apparently, Xcode seems to be stuck in indexing forever and none of the answers around works for me. If I remove this particular variable, the app will load just fine. Is there another workaround for this? </p>

<p>Info that might help:
The structure works fine in Python but it doesn't work with Swift when the data gets bigger. The nested dictionaries of lists works when the data structure is still small.</p>