Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
When looking at source code within Xcode, there should be a small button on the top right of the Xcode window with 2 arrows (left and right) on it. That should bring up a two-pane sdiff. The small button to the left (with just lines in it) makes the Xcode edit window normal again.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.