Ruby:|Ruby: Access Control
intro
-
public
: accessible both outside and inside class -
protected & private
: only accessible inside class itself and its subclasses -
protected
: can be called with an explicit receiver -
private
: can only called by implicit self
推荐阅读
- 关于Ruby的杂想
- Swift|Swift ----viewController 中addChildViewController
- UIPageViewController|UIPageViewController issue
- swift|swift 网络数据(controllerview)
- UITabBarController点击UITabBarItem|UITabBarController点击UITabBarItem 禁止跳转
- 录音
- ViewController的使用技巧
- Designing|Designing a Controller-Controller Calculations
- [iOS]|[iOS] KVOController源码分析
- iOS自定义控件(UISegmentedControl+UIScrollView制作QQ音乐主页面)