Xcode and Story boards will usually allow you to drag and drop sockets to view controllers. When using a storyboard, select an item as the root view controller, and then make a connection and go from there. If you're just trying to map things to a storyboard, you should find something similar to:
UISplitViewController *splitViewController = (UISplitViewController *)self.window.rootViewController;
If you have a shared data-sharing class, singleton is a great way to always get a shared class instance and ensure that all reference classes use the same information.
source share