๐Ÿ”ธglobal scope

Swift โŸฉ scope โŸฉ global

The top-level of a source file.

Symbols (instances, types, functions, etc.) defined at this area are accessible from code in any source file (in the same module).

Last updated

Was this helpful?