Learn how to add another page in a Xcode playground. Review skills learned by making a dessert board to accompany the pizza board.
- [Instructor] Once you have a source file in Xcode,…you can use it on…more than one page in a Playground…demonstrating or experimenting…with the class in new ways.…Let's set up a page…for changing the menu board to dessert items.…In Xcode, make sure your navigator's open…and select the Playground.…In Xcode, click…File,…New, Playground Page.…The navigator changes…with two untitled pages in the Playground.…In this one move,…you've turned the Playground into a book.…
We'll discuss books more…in a later chapter.…But this is the fast way of making…multiple pages of a Playground…if you want iterations of your code.…Open the two folders of the untitled Playgrounds.…Each has its own sources and resources.…You also have sources and resources for the book.…The ones we've already defined.…Click the untitled page…and you'll find the code we've already written.…Click the name and change it to Pizza.…
Select the timeline in the assistant editor…and it shows the pizza menu.…Click the untitled page two.…You find an empty template of code.…
- 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?
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.