hellosheikh
hellosheikh

Reputation: 3015

Xcode shows two windows side by side

Hello My xcode is showing the screen in half and also not showing storyboard interface builder. below is the screenshot

enter image description here

enter image description here

I have tried to reset the xcode settings as well

defaults delete com.apple.dt.Xcode

But it didn't work. Please tell me how can I fix this

Upvotes: 0

Views: 1694

Answers (3)

Bhavin Ramani
Bhavin Ramani

Reputation: 3219

Main Storyboard > Right click > Open As > interface Builder - Storyboard

enter image description here


Click First button to show your view controller.

enter image description here

Upvotes: 1

David Wong
David Wong

Reputation: 10294

These three buttons up here switch your view. Select the left one.

enter image description here

You're actually stuck in the version editor (which looks at your version repository compared with your current code.)

Because storyboard UI can't be viewed with the interface, it shows the underlying xml.

Also the keyboard shortcut is command + enter (credit to farzadshbfn)

Upvotes: 4

Nex
Nex

Reputation: 71

Try click on "Show Standard Editor" button:

enter image description here

Upvotes: 2

Related Questions