I read the Apple link about access modifiers in Swift 3. I also read about the same in stackoverflow, but I did not get the answer as the person who asked. As I understood correctly, there are four levels:
- Open, Publish
- Interior
- Fileprivate
- Private
I created circuits for myself to understand the difference between all of these modifiers and download here . As you can see, the differences between the Public and Internal modifiers do not differ. However, they are at different levels. Any idea would be appreciated!
source
share