[swift] access control https://docs.swift.org/swift-book/LanguageGuide/AccessControl.html