Using XCODE Version 7.11
let nameByParkingSpace = [13: “Alice”, 27: “Bob”] shows results [27:“Bob”, 13:“Alice”]
The results seem to be in reverse order of entry. Is this correct?
Using XCODE Version 7.11
let nameByParkingSpace = [13: “Alice”, 27: “Bob”] shows results [27:“Bob”, 13:“Alice”]
The results seem to be in reverse order of entry. Is this correct?
Dictionary types in most languages are unsorted so this is to be expected I guess. Arbitrary order.