Reputation: 19
I am working on a project and for some reason there is a main.storyboard and a screen.xib file both in the same objective-c project. The project is done on Xcode. To my understanding, it should only be one or the other. Am I mistaken?
Upvotes: 0
Views: 501
Reputation: 47159
An Xcode project can use a combination of .nibs, .xibs, and storyboards.
iOS uses nibs as an implementation detail that supports storyboards, the iOS user interface design layout format. Storyboards allow you to design and visualize the entire user interface of your app on one canvas. For iOS developers, using storyboards is the recommended way to design user interfaces.
*the same holds true for OS X as well, although depending on what you're creating storyboards might not be recommend.
↳ Cocoa Core Competencies : Nib File
Upvotes: 1