All-in-one layout (single window) for XCode
To switch to the All-In-One layout, open Xcode's preferences window by choosing Xcode > Preferences. Click the General button in the preferences window toolbar. Choose All-In-One from the Layout pop-up menu.
From Reducing Xcode's Window Clutter by Me and Mark Publishing.