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 10 months ago
Was this helpful?