Custom container view controllers and storyboards

Originator:henri
Number:rdar://23900144 Date Originated:15.12.2015
Status:Open Resolved:
Product:iOS Product Version:9.2
Classification:Enhancement Reproducible:
 
Summary:
When using/building custom container view controllers (which follow similar pattern to that of UITabBarController) that have an array of child view controllers, it would be beneficial to have the opportunity of defining the parent/child relationship from Storyboards.

This might be implemented as a custom segue that is executed upon viewDidLoad, or perhaps by allowing the Container View logic to house an arbitrary number of child controllers per view.

Steps to Reproduce:
1. Create a container view controller that wants to display several child controllers (similar to UITabBarController)
2. Use this container controller from a Storyboard
3. Try to define the child relationships in the Storyboard

Expected Results:
Storyboard allows defining parent child relationships between view controllers, similarly to how it works for UINavigationController (rootController) and UITabBarController (viewControllers).

Actual Results:
Storyboard does not allow defining such a relationship, instead offering different segues that can't then be automatically triggered from viewDidLoad/loadView or similar.

Version:
iOS 9.2

Configuration:
iOS SDK 9.2, Xcode 7.2 (7C68)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!