2013-06-27 62 views
-1

需要從tabBarViewController共享屬性子控制器(項目) 屬性必須以孩子的控制器共享財產beetween tabBarViewController和他的孩子控制器(項目)

所有課程都是定製的幫助而改變。爲的UITabBarController

我的類的

例 接口

@interface TabBarVC:的UITabBarController

@property(保留,非原子)的NSString * someProperty;

@end

子視圖控制器的接口

@interface FirstViewController:UIViewController中

@end

THX的幫助!

回答

0

它們不一定共享相同的屬性,但它們都可以具有指向同一對象的屬性。