Join Scott Gardner for an in-depth discussion in this video Add pages to a playground, part of Swift 3 Essential Training: Beyond the Basics.
- [Instructor] I'll keep going in the same Playground…from the previous video.…I'll the widen the results sidebar bit,…so that I can actually see the results.…I've been working in the main Playground page so far,…but Playgrounds can optionally have multiple pages.…I'll close the Utilities and open the Project Navigator.…And I'll twist down the main Playground page.…Now I'll right click on the main Playground page…and select new Playground page.…Notice that two pages are actually created.…
I'll just accept the suggested file names for now.…The original code in the main Playground…is moved to the Untitled Page page,…and the new second page…is named Untitled Page 2 by default.…I'll rename these pages Page 1 and Page 2.…And notice that Page 1 now comes after Page 2.…I'll take care of that in a moment.…
I'll also twist down the new Playground pages…by holding option while I click on the twist down.…Notice that each page has it's own sources…and resources folders,…but the original sources and resources folders…are still there too.…
- Adding source files, resources, links, and literals
- Adding pages to a playground
- Using overflow operators and bitwise operators
- Using ranges with strings
- Creating complex sequences
- Chaining higher-order functions
- Defining lazy properties
- Using failable initializers
- Mutating methods
- Working with singletons
- Nesting function types
- Creating error types and recursive enumerations
- Extending concrete types
- Referencing selectors and key paths
- Working with protocol-oriented programming
- Defining class-only protocols and optional protocols
- Using option sets, type checking, and casting operators
Skill Level Intermediate
Core Data for iOS and macOS Enterprise Developerswith Jon Bott1h 46m Intermediate
Distributing Your iOS App for Testing with TestFlightwith Ron Buencamino35m 10s Intermediate
iOS App Development: Test-Driven Developmentwith Harrison Ferrone2h 14m Intermediate
3. Strings and Characters
4. Sequences and Collections
5. Control Flow
6. Value and Reference Types
9. Access Control
Understand access control3m 47s
Next steps1m 2s
- 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.