How to configure file / diff mapping in Xcode 4?

I'm looking for how to set up / diff file comparison in Xcode 4, but they ran into a brick wall. Can anyone tell me how to do this?

Thanks in advance!

+48
xcode4
May 16 '11 at 5:20
source share
3 answers

If you are looking to compare two different files (instead of comparing two versions of the same file), you can use the FileMerge tool included in Xcode. Spotlight can find it for you.

+66
May 20 '11 at 10:04
source share

Richard Brightwell's answer is correct, although he left me a little, as he went missing.

  • Select a file from the project navigator, then click the version editor button (top right).
  • Click the timeline icon between the two files to display a vertical bar representing revisions (a black bar with white indicators for each revision).
  • Drag the white arrows in the version to compare.

Xcode 4 Compare Utility

+37
Aug 05 '11 at 16:51
source share

Above the code window there is a button that looks like two file folders inverted one above the other. Click this button to open a side view of file differences.

This is the rightmost button in the red box, drawn in this screenshot .

+2
May 16 '11 at 5:26
source share



All Articles