I have a protocol that my ApplicationDelegate implements. I want to pass this to the first view controller defined in a story board. How do I get access to it from the method?
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
I am not sure if I am understanding the question correctly I think you are asking how do you get the first viewController in a storyboard. To get this you call,
Change the name of the storyboard to suit your name, MainStoryboard is just the default name. Hope this is what you were looking for.
Edit: