** Pastebin PRO Accounts Winter Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Feb 15th, 2012  |  syntax: Objective C  |  size: 0.28 KB  |  views: 177  |  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