Skip to content

Glossary: Swift Basics

import

Also written: import Foundation, import PackageDescription

A line at the top of a file that makes a library's tools available, like `import Foundation`.

Where the book teaches it

Related terms

Foundation