Comparison of Xib and storyboard
Comparison of Xib and storyboard, a lightweight one heavyweight.
Common denominator: Both are used to describe software interfaces that are edited with the Interface Builder tool
different points: Xib is lightweight, describing the local UI interface storyboard is heavyweight, used to describe the entire software interface, and can show the jump relationship between multiple interfaces, BU
Limitations: xib: When using Xib, it is almost inevitable to complement and complete functionality with part of the code. On this point in the development should be highly valued, if you choose Xib, then try to isolate the work of xib and the work of the code: the ability to use Xib to complete the content of the unified use of xib to do, not to say three labels two of them in the Xib set the font and the other is in the code to complete. Trying to keep only the necessary, less iboutlet and ibaction is a good way to storyboard because a single view is not allowed in storyboard, so many times we still need to customize the UI with a single xib. This is due to the storyboard design ideas, storyboard more emphasis is a hierarchy, is a global perspective on the organization of UI design and migration. For a single view, more attention is paid to reuse and customization than to the entire project's process. I believe that by seizing this point, you will be well aware of when to use Xib and when to use storyboard.
(PS: Bloggers collect their own, there are not all the places to welcome the vomit Groove)