Learn about the resources folder. Learn how to add images to the resources folder and add an image to the playground.
- [Instructor] We've added a menu board, and with …- [Instructor] We've already looked at how to add resources… changing the frame, left some space at the top of the view. …to the Xcode Playground by dropping them into…the resource script.… Let's put an image of a pizza at the top of the view. …In Ipad Playgrounds you do not have file access… To do so, you'll need to add resources to the playground. …on your iPad to add those files.… We've been keeping the navigator closed. …You can add them, however, through iCloud,… Close the live view and open the navigator. …the photo library, or your camera.…Let's add a pizza icon to the menu items… You'll see a folder called resources. …using different ways of getting images.…In the Playground code, go to the self row… This is where you store any assets … you wish to use in the playground. …at indexpath method.… In the exercise folder for this lesson, … you'll find an image surfPizza.png. …Add under the code for the detailed text label,… Drag it into the resources folder. …
- Comparing iPad and Xcode playgrounds
- Creating and testing Swift classes and code in iPad and Xcode playgrounds
- Prototyping code
- Debugging and testing with Quick Look live views
- Using markup to interactively document code and create educational lessons
- Compiling code into playground books
Skill Level Intermediate
1. Introducing Playgrounds
2. Xcode Playgrounds
3. iPad Playgrounds
4. Markup and Playgrounds
5. Playground Books
- 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.