title: Xcode - How to view two files side-by-side?
body: <p>I'm an experienced Eclipse user and am moving over to Xcode (I have version 9 right now).</p>
  
  <p><strong>In Xcode, how do I view two source code files side-by-side vertically</strong> (i.e. one file on the left, and another on the right)? In Eclipse, to get a split view window, it's a simple matter of <a href="https://stackoverflow.com/questions/5974828/how-do-you-open-a-second-editor-view-in-eclipse">dragging one tab from the left to the right</a>. How do I do this in Xcode?</p>
  
  <p>Here is what I mean in Eclipse:</p>
  
  <p><a href="https://i.stack.imgur.com/zGYra.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zGYra.png" alt="Eclipse IDE with side-by-side files"></a></p>