Xcode gives great control over organizing files in the Project Navigator. In this video, see how to create groups and folder references to organize your files.
- [Instructor] In Xcode you have groups and folders.…Groups are not linked to the file system.…In that a group's contents do not update…when the file system changes.…A folder is linked to the file system…and its contents are updated…as the folder's contents change.…Let's take a look at an example of this.…In my Project folder,…I have a folder called Folder Example…with two text files in it…and a folder called Group Example…with two text files in it.…
Let's take a look at how Xcode handles folders…as compared to groups.…If I tab over to Xcode,…I can see my project that even though I've created folders…inside of the My First App folder,…they're not showing up in Xcode.…That's because My First App is not a folder,…it's a group which as I mentioned earlier…is not linked to the file system.…You could tell it's a group…because of the color of the folder icon.…It's yellow here.…Yellow denotes a group and blue denotes a folder.…
So, let's add the group to Xcode.…Select ViewController.swift.…Selecting the file is actually an important step here.…
- 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.