August 2016
Intermediate to advanced
1027 pages
23h 11m
English
Swift provides another set of tools that helps to control what code other code has access to called access controls. All code is actually given three levels of access control:
Before we can really discuss this further, you should understand completely what a module is. It is beyond the scope of this book to talk about implementing a module but a module is a collection of code that can be used in other modules and apps. So far, we have used the Foundation module provided by Apple. A module is anything that you use when using the import keyword.
All code, by default, is ...
Read now
Unlock full access