Obtenir StoryBoard instance de View Controller

Exemple sans storyboard:

AppDelegate.h

@property (retain, nonatomic) UIViewController *leftController;

AppDelegate.m

self.leftController = [[LeftViewController alloc] initWithNibName:@"LeftViewController" bundle:nil];

OtherViewController:

//This is what I want do to in storyboards
self.viewDeckController.leftController = (AppDelegate*)[[UIApplication sharedApplication] delegate].leftController;

Comment puis-je obtenir instance de leftController lors de l'utilisation de story-boards?

OriginalL'auteur 1337code | 2012-12-06