The Future of Foundation

The Foundation framework is used in nearly all Swift projects. It provides both a base layer of functionality for fundamentals like strings, collections, and dates, as well as setting conventions for writing great Swift code. Today, we have some exciting announcements for the future of Foundation.

swift.org/blog/future-of-foundation/

Apple announced a new open-source Foundation project, rewritten in Swift to eliminate C code wrapping, improve performance, and simplify contributions.

The project introduces smaller, modular packages like FoundationEssentials for core types, FoundationInternationalization for localised content, and FoundationObjCCompatibility for legacy APIs, enabling smaller binary sizes and unified behaviour across platforms.

It aims to foster community participation through an open contribution process, aligning with Swift’s growth and ABI stability. The initiative builds on the swift-corelibs-foundation project launched in 2016, enhancing the developer experience for Swift projects.


Category:

Tag:

Year: