Learn how to modify the contents of the iPad's code completion bar to include or exclude methods and properties.
- [Instructor] There's one more restriction…you might want to make when you are setting up a Playground…for educational documentation or presentation purposes.…Restricting the code completion bar.…I've restricted what you can type in the line editable code…by placing in the context that you can only type…a number or a string on the Order menu.…Close the Pizza Order…and go to the Menu Board Playground,…drop down to Desserts,…if you're not already there.…Tap in the end of the editable code block,…just after menuBoard prices, press Return.…
On the bottom you'll see a fully active code completion bar.…In most finished Playgrounds…when you are instructing or presenting…you'll want to restrict or hide completely…that completion bar.…Close the iPad Menu Board and go over to Xcode.…Open up the MenuBoard, Pizza,…go to the Dessert code.…We'll start restricting code completion…by removing all code completion.…Just after the end-hidden-code tag…add this code completion tag,…code-completion, and then parentheses,…everything, hide.…
- 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.