Swift – Stored values order is completely changed in Dictionary
This is because of the definition of Dictionaries: Dictionary A dictionary stores associations between keys of the same type and values of the same type in an collection with no defined ordering. There is no order, they might come out differently than they were put in. This is comparable to NSSet. Edit: NSDictionary Dictionaries Collect … Read more