Loading iOS ViewController in Code from a Storyboard File

In one project, I needed to present some one-off view controllers so I thought it would be best to put them in their own StoryBoard file and load them in code. I wrote a method that takes the view controller name (set in the Identity Inspector – see image). In this case it is “browserVC” Read more about Loading iOS ViewController in Code from a Storyboard File[…]

Storyboard – Unwind a Segue

From http://www.freelancemadscience.com/fmslabs_blog/2012/9/24/advanced-storyboard-techniques.html… In the controller you wish to return to, implement a method that returns an IBAction, and that takes a single UIStoryboardSegue argument: – (IBAction)returnActionForSegue:(UIStoryboardSegue *)returnSegue { // do useful actions here. } Now, in the scene we wish to unwind, control-drag from the UI element that will trigger the return to the scene’s Read more about Storyboard – Unwind a Segue[…]