Reputation: 77626
I am trying to implement something similar to AplitView where you can hace separate scenes in storyboard and connect a viewController to another one as an outlet. Is this possible?
@Interface MenuNavigationController : UINavigationController
@property (nonatomic, strong) IBOUtlet MenuViewcontroller *menuViewController;
@end
In interfaceBuilder I want to drag and drop, and assign another viewController to my outlet
Upvotes: 4
Views: 5884
Reputation: 125017
Xcode won't allow you to make connections between different scenes in a storyboard. It does allow such connections for the container view controllers that it knows about, like UISplitViewController, but not for your own. See Linking child view controllers to a parent view controller within storyboard for some useful ideas on this topic.
Upvotes: 6