Xcode 4 – Running a nib file in the iOS Simulator

Xcode 4 has this great feature that allows you to see a nib file in the iOS Simulator. To use it, open a nib file in the editor, then in the menu bar click Editor > Simulate Document.