Can I call detailViewController methods or get attributes declared as IBOutlets by me in the class, from another rootViewController that I have created?
I have this hierarchy of rootControlViews:
[RootViewController]
[Cell 1] -> [Cell1RootViewController] (push Cell1RootView... into the navController]
Only one DetailViewController with an IBOutlet declared object (and synthethised) called object.
I select the [Cell 1], So I am now inside Cell1RootViewController. How can I call the object declared in DetailViewController from here?.
I have tried declaring it inside Cell1RootViewController and tried linking it by reference outlet with the one that is inside DetailViewController, but it didn’t work.
If you have a
SplitViewController, then you have aMasterViewand aControllerView(that extends/implementsTableDataSourceandTableDelegateprotocols).If you wanted to have several
ControllerViewsbecause of something, and wanted to callMasterViewmethods when inside of anyControllViewof yours, you should have an INIT method like this: