0Pricing
Swift Academy · Lesson

Access Control

Access Control

Introduction

Hello,

Access Control restricts access to some of your code from code in other source files or modules.

Module: A module is a framework or application code distribution unit /

A module contains several source code files.

Source File:

The source file is a single source code file within the module.

Access Level

If the AL(Access Level) of a type is defined as private, the AL of all items belonging to the type will be private.

← Back to Swift Academy