Dictionary printing results backwards

后端 未结 1 2036
悲哀的现实
悲哀的现实 2020-12-22 11:00

In the video tutorial:

Quick unscripted tutorial introduction to apple Swift progrqmming language in 16 minutes http://youtu.be/3tZig9AWMdc?t=9m10s

I did t

相关标签:
1条回答
  • 2020-12-22 11:08

    You are missing nothing.

    Dictionary is unordered collection.

    From the docs:

    Swift’s Dictionary type is an unordered collection. The order in which keys, values, and key-value pairs are retrieved when iterating over a dictionary is not specified.

    0 讨论(0)
提交回复
热议问题