Explore using code found in sources in an iPad playground. Explore how to read code from sources on an iPad. Learn to add sources without Xcode.
- [Instructor] Like the menu board in Xcode…I showed you earlier,…I'd like to move the class to a source file.…How you do that requires a few tricks…to get the file into sources,…tricks you can do with or without Xcode.…On your iPad, close the playground.…Open the menu board you created earlier…or download a copy from the downloads folder.…Hide the live view if it's visible…and hit the three dots in the upper right corner.…This is the tools menu.…At the top is help.…In the middle, a set of sharing options.…
On the very bottom is the advanced menu.…Tap that and you'll see view auxiliary source files.…Tap that and you'll get the file structure…of the playground.…Tap resources and surf pizza…and you'll see the pizza image we use there.…Hit back and hit sources and then menu board.…You'll find the code we wrote earlier.…For any playground, you can look at that source code,…but you can't change it.…
Tap on the code and you can find…you can select something and copy.…But you can't fix anything,…which is a problem because down here you'll notice…
- 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
iOS App Development: Notificationswith Steven Lipton1h 10m Intermediate
1. Introducing Playgrounds
2. Xcode Playgrounds
3. iPad Playgrounds
4. Markup and Playgrounds
5. Playground Books
Next steps1m 26s
- 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.