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).
local scope
Last updated 1 month ago