CYLTabBarController是怎么通过self.viewController访问该方法的?

何安宜
2023-12-01
UITabBarController有一个属性为viewControllers 下面的方法相当于重写UITabBarController中viewControllers属性的getter方法,self.viewControllers就是调用了viewControllers的getter方法
 类似资料: