Reputation: 155
i have a code here
@interface FFRightSidebarController ()
@property (nonatomic, strong) FFActivitiesController *activitiesController;
@property (nonatomic, strong) FFSidebarTableController *dummy2;
@end
so basically RightSidebarController instance holds an instance of activitiesController
the question is:
can i get the instance of rightsidebarcontroller from activitiescontroller (getting the instance of an instance):
it was basically like getting the view controller of a UIView like in this link here.
just in this case, it is viewController to ViewController.
if it's not clear enough please ask me.. Thanks ahead..
Upvotes: 0
Views: 127
Reputation: 15335
There is a Project Over here with detailed explaination of the Sliding ViewControllers for all the possible ways .
Upvotes: 0
Reputation: 2100
you can use this link if you want to access parentViewController
To access the parent View controller u can use self.parentViewController. Once you have it you can access its view simply by using its view property
Please let me know if it solves your problem.
hope this helps.
Upvotes: 1