The version editor allows you to compare versions of files based on commits. You can also compare commits based on the author or the complete log of commits. See how it all works in this video.
- [Instructor] We glossed over it a little bit…in doing commits, but the Version Editor…is a very powerful tool when working…with source control and Xcode.…Let's take a look at how it works.…You can access the Version Editor…among the editor buttons in the toolbar.…So I'm going to click on the version editor,…which is the button on the right,…and I'm going to click to use the fly out menu…and choose Comparison.…This is the default view, so you may see…these arrow icons first when you look at that button.…With the Version Editor, you can compare versions…of your application.…
So I have this view controller file selected…and I see a version on the left and a version on the right.…Using the breadcrumb at the bottom,…I can actually choose which revision I want to compare.…So I can look at this commit and compare it…against the one on the right.…You can actually look at commits…made in different branches as well.…Notice the changes update immediately.…When you have more than one change,…you'll have a number down here that's greater than one…
- Installing Xcode
- Creating your first project
- Editing code
- Creating snippets
- Prototyping in playgrounds
- Implementing version control with Git
- Building and connecting the interface
- Compiling and debugging apps in Xcode
- Creating workspaces for sharing resources and code
Skill Level Beginner
1. Getting Started
2. Edit Code
3. Source Control
4. Interface Builder Basics
5. Compile and Debug
Create a workspace2m 51s
Next steps1m 5s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.