Skip to content

Glossary: Swift Beyond the Basics

module

Also written: modules

A unit of code that Swift compiles together and others load with `import`, like `Foundation`. Each target in a package builds one module.

Where the book teaches it

Related terms

targetproductaccess control