Does Swift have access modifiers?
As of Swift 3.0.1, there are 4 levels of access, described below from the highest (least restrictive) to the lowest (most restrictive). 1. open and public Enable an entity to be used outside the defining module (target). You typically use open or public access when specifying the public interface to a framework. However, open access … Read more