The most common part of every program’s user interface is a window that displays items such as buttons and text fields. In Xcode, windows are called views. In all but the simplest programs, a user interface will likely consist of two or more windows or views. This means your program needs to know how to open additional windows and close them again.
The two ways to create and store views are in .xib files and .storyboard files. A .xib file holds one view so if you need to display multiple views, you’ll need to create multiple .xib files. A .storyboard file can hold one or more ...