Mobile Apps Developer. ♥ Haskell, Swift… ♥ cricket with slips. ( i don't like too much T20). Opinions are my own.
Encapsulation is one of the four fundamentals of Object Oriented Programming. Access control is part of the apparatus that enables encapsulation. Private, Fileprivate, Internal and Open are the four access controls available for us in Swift.