That's not consistent with my recollection. IIRC we were forced to make them unidirectional because Foundation doesn't provide reverse enumeration for bridged NSSet
and NSDictionary
representations. I remember being really disappointed that we had to make that sacrifice; certainly there's nothing inherent about the Swift-native data structures that makes them unsuitable for bidirectional traversal.
5 Likes