Skip to content

Glossary: Swift Basics

Foundation

Also written: import Foundation

Apple's library of ready-made tools that comes with Swift, brought in with `import Foundation`. It provides `String(format:)` and `trimmingCharacters`.

Where the book teaches it

Related terms

import