I'd like to write a designated initializer in Swift for my view controller to initialize a private property. I understand how to do this in code, but I'm struggling to understand how to accomplish this with storyboards.
My custom game view controller is the root view controller of my nav controller, which is contained in a container view controller
Since all of the containment and view controller creation is happening automatically from the storyboard, the only solution I can think of is to declare my private property as a public property, so I can assign it a value after my game view controller has been created. This seems like a hack, since I'll only be declaring it as public in order to make use of storyboards. Am I understanding correctly, or is a point in the code when I can intervene and call my game view controller's designated initializer?
Thanks in advance for your wisdom!