Foundation Package Preview Now Available

This preview provides a unified implementation of Foundation, written in Swift, that is faster, safer, and more approachable to new contributors.

A new Foundation Workgroup will run reviews of proposed Foundation API and coordinate the needs of the Swift community with Apple engineering.

swift.org/blog/foundation-preview-now-available/

The preview of a new, unified Foundation package, written in Swift, is now available on GitHub, offering faster, safer, and more approachable implementations for types like AttributedString, JSONEncoder, and Calendar, with more to be added.

It includes FoundationEssentials and FoundationInternationalization packages, leveraging a new FoundationICU package for consistent internationalisation on non-Darwin platforms. Performance improvements include up to 500% faster JSON decoding and 150% better date formatting, thanks to native Swift code eliminating Objective-C bridging.

A new Foundation Workgroup will oversee community API proposals and coordinate with Swift’s ecosystem, aiming to replace swift-corelibs-foundation, with initial members to be announced soon.


Category:

Tag:

Year: