This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 15th, 2012  |  syntax: Objective C  |  size: 0.28 KB  |  views: 175  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         UIStoryboard *storybrd = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
  2.         UIViewController *mycontroller =[storybrd instantiateViewControllerWithIdentifier:@"myCtrl"];
  3.         [storybrd instantiateViewControllerWithIdentifier:(NSString *)mycontroller];
clone this paste RAW Paste Data