Often when developing an app, you'll need an outside resource like an image file or a text or code file. In this video, learn how to get those assets into Xcode, both as folder references and as groups.
- [Instructor] Now, let's take a look…at bringing images into our application.…I've actually gone out of full-screen mode for this,…because it's a little bit easier that way.…To add assets to your application,…select your assets folder in the Project Navigator.…So make sure the Navigator is showing,…and then click on Assets dot xc assets.…In there, all you should see is an app icon asset,…which should be empty.…And this displays a bunch of squares,…labeled as one x and two x, and it has point sizes.…
As we talked about earlier, Apple platforms…use point sizes rather than pixels,…because of the different pixel densities of displays.…To find out the pixel dimensions of a given icon size,…you multiply the point size by one two, three, et cetera.…So, for this Mac icon that's 16 points,…it would be 16 points wide, and 16 points high,…for the one x version, but the two x version…would be twice that, 32 points high,…and 32 points wide as well.…
While we're not using icons in this application,…I want to point it out just because it's important…
- 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.