The Foundation framework defines a base layer of functionality that is required for almost all applications. It provides primitive classes and introduces several paradigms that define functionality not provided by either the Objective-C runtime and language or Swift standard library and language. This project, swift-corelibs-foundation, provides an implementation of the Foundation API for platforms where there is no Objective-C runtime. On macOS, iOS, and other Apple platforms, apps should use the Foundation that comes with the operating system. Our goal is for the API in this project to match the OS-provided Foundation and abstract away the exact underlying platform as much as possible. We believe that the Swift standard library should remain small and laser-focused on providing support for language primitives.
Features
- Provides a small set of basic utility classes
- Makes software development easier by introducing consistent conventions
- Supports internationalization and localization, to make software accessible to users around the world
- Provides a level of OS independence, to enhance portability
- Our primary goal is to achieve implementation parity with Foundation on Apple platforms
- The Foundation framework defines a base layer of functionality that is required for almost all applications