Can someone explain in simple words the difference between .xib and .storyboard?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apple introduced the concept of
"storyboarding"in iOS5 SDK to simplify and better manage screens in your app. You can still use the.xibway of development.Pre-storyboard, each
UIViewControllerhad an associated.xibwith it.Storyboardachieves two things:.storyboardis essentially one single file for all your screens in the app and it shows the flow of the screens. You can addsegues/transitions between screens, this way. So, this minimizes the boilerplate code required to manage multiple screens.Minimizes the overall number of files in an app.
You can avoid using
Storyboardwhile creating a new project by leaving the “Use Storyboard” option unchecked.You could refer this tutorial to get started.