1/3 – Create a ViewController Using the .XIB File in Xcode Using Interface Builder and Xcode 5
Learn how to make a new screen for your iPhone app using the .xib (nib) file in Xcode 5 and with a little bit of code. You’ll learn how to set it all up, and it won’t be a mystery that leaves you wondering why your app doesn’t work like you expect.
I’ll show you how to setup your ViewController code so that it is connected to the .xib file and how to avoid a crash (nib but the view outlet was not set). If you forget to set the view outlet you’ll never be able to load the new screen.
You can use this workflow anytime you want to create a new UI interface outside of the storyboard file from code. It’ll give you more control when you want to control the flow of data between your ViewControllers in your iPhone apps.
Click here to Subscribe to learn how to make iPhone apps.