> Unlike its companion collections like NSArray, NSDictionary, and NSSet, 
> NSOrdered is still a class rather than a struct and has a subclass that is 
> still NSMutableOrderedSet. This should probably receive the same treatment as 
> the other classes

Swift Evolution proposal SE-0069 "Mutability and Foundation Value Types" notes 
at the bottom 
<https://github.com/apple/swift-evolution/blob/master/proposals/0069-swift-mutability-for-foundation.md>:

> The following classes were considered and rejected or deferred for the 
> described reasons:
> …
>       • OrderedSet, CountedSet: We will consider these types in a future 
> proposal.


So sit tight—the Foundation team is already thinking about this. (That doesn't 
mean you'll necessarily see it this year, though.)

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to