Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Relationship Segue

As scenes in Storyboards can not be connected using IBOutlets, segues would be a great way.

While it's easy to create custom segues, there seems to be no way to create custom "Relationship Segues".

enter image description here

Is that so? Only Apple can create such segues (UITabBarController's viewControllers, UINavigationController's rootController, etc.)?

like image 716
Rivera Avatar asked Sep 30 '22 00:09

Rivera


1 Answers

You're correct, you cannot create custom relationship segues.

Relationships segues are different from the other segues in that they are resolved at build time. When a UITabBarController is loaded from a storyboard, all of its constituent view controllers are already 'inside' of it in the same NIB that represents the scene with the tab bar controller.

like image 144
Jon Hess Avatar answered Oct 17 '22 01:10

Jon Hess