๐Ÿ”ฐscope

Swift โŸฉ scope

The areas of your project from which you can access a value or type.

  • symbols defined at a global scope can be accessed by any file in the module.

  • symbols defined at a local scope are only available in code that is at the same or a lower level of local scope.

Last updated