Most of the time I just need 2 code panes on my main monitor, for which using
Option-Command-↩ usually does the job. Sometimes I need to see more than 2 files on the same screen and I always keep forgetting how to do that in Xcode. Here is it on record for posterity.
There are 2 ways
- View -> Assistant Editor -> Add Assistant editor
Command-Shift-O-> Select file ->