hanleylee / hanleylee.com-comments

网站评论仓库
https://hanleylee.com
2 stars 0 forks source link

iOS 中属性与方法的访问权限等级 | 闪耀旅途 #23

Open hanleylee opened 4 years ago

hanleylee commented 4 years ago

https://www.hanleylee.com/various-authority-for-property-and-method-in-ios.html

在 Xcode 中共有五种对变量和方法的访问权限, 其等级从低到高依次是: private fileprivate internal public open