I will restate my opinion on this subject even if it is going to void
I don't understand why we are mimicking Objc/Apple Foundation framework on Swift side. It brings many issues:
- Foundation is driven by Apple, not by community nor Swift
- We have weird types for Swift (NSArray, NSNumber, ...)
- There are missing methods returning fatalError at runtime, making the written code not safe
- We have dependencies issues because Foundation is a big monolithic requiring us to do what I think is "awkward" stuff (Pitch: Move URLSession to new FoundationNetworking module - #54 by Max_Desiatov)
Why are we not making a real Swift API, one starting from scratch using Swift idioms and not related to any ObjC/Apple stuff? That API would be available on all platforms and would be the one to use to make portable code.
On the other hand, Foundation would only be available and usable by macOS/iOS users.