iphone - How to access properties/methods in other classes -


itemprop = "text">

I have a RootViewController that has some UITabBarController properties:

  @interface RootViewController: UIViewController & LT; Logs view view, UITabBarControllerDelegate & gt; {UIBarButtonItem * loginButton; NSUserDefaults * prefs; UITabBarController * arTabBarController; UITabBarController * stvTabBarController; UITabBarController * stTabBarController; BOOL tabbeds saved; } @property (nontomic, retten) UIBarButtonItem * loginButton; @property (nonatomic, retaining) UITabBarController * arTabBarController; @property (nonatomic, retaining) UITabBarController * stvTabBarController; @protecti (nonatomic, raten) UITBBR Controller * Stuttbrak Controller; @property (assign) BOOL tabbeds saved;  

I would like to be able to access these tabbar controllers from another class.

How can I use UEPTification in the second category to access UITBCControllers and switch tabs?

If you use @ synthesis in your implementation There are public sets of gates and setters in the ones you are applying.

This means, you can get an indicator for your RootViewController here, you can also do anything for your .arTabBarController property.


Comments