The Assistant Editor allows you to work in multiple files at once. In this video, learn how to open the Assistant Editor and how to use it effectively.
- [Instructor] The Assistant Editor is used to split the main editor into two different views so you can work on two files at the same time. While there may be many different use cases for the Assistant Editor, the only real-world example I've found that's effective is working on a user interface file with a code file so you can easily connect elements between the two. Let's look at how the Assistant Editor works. As we've looked at it previously you can simply click the button in the toolbar to switch to the Assistant Editor.
You can use the fly out menu to change how the Assistant Editors are laid out. Normally I leave the left and right setting, however, that is, of course, a personal preference. I most commonly use the Assistant Editor by working in a storyboard file, so I'll be building a user interface for example, and then rather than using the button in the toolbar, option clicking the file I want to work with.
So I can option click ViewController.swift and that puts it in the Assistant Editor on the right side of the screen. From there you can left click a file to get it on the left side, or option click the file to get it on the right side. You can also navigate to the file you want to work in by using the breadcrumb menu at the top. And remember, you can return to the standard editor by clicking the button in the toolbar.
- 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?
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.