read

XCode in a nutshell

In XCode 4, to have the split screen feature, you have to use the Assistant Editor. It's that ""Black Tie" Mode.

Tap the Assistant Editor to split the screen

If you don't fancy having the editors horizontally, you can easily stack them vertically by clicking View -> Assistant Editor -> All editors stacked vertically.

Change assistant editor layout

Editors. Stack them all.

Normally, the assistant editor will automatically show the counterpart of the file opened in the main editor. But if you want to defy the intelligence of the xcode, you can click on the Black Tie icon Counterparts then choose Manual.

Manually select file to open in assistant editor

If you have tons of source codes, it might be difficult to search the file you want to open. Here's the trick. Click on the file name on Assistant Editor bar, then just type the name of the file you're looking for. XCode auto-completion will do the work for you.

Type file name to open file fast

And last, if you're not satisfied with monogamy, you can conduct polygamy up to 5 assistants. You might be able to have more assistants in a bigger screen. But in my Macbook Air, 5 is the limit. Makes sense, cause it's getting too crowded.

The more the merrier

Polygamy in XCode

Image

NICNOCQUEE

Blog about iOS, Programming, Japan, or Random Stuff.

« Older Newer »