Throughout this book, we have been using Swift Playgrounds to work through code examples as we explore the Swift language. Playgrounds are great for this use case, as they allow you to explore code and framework APIs without needing the infrastructure of an iOS, macOS, or tvOS app to execute the code.
Their features go beyond how we have used them so far in this book, and in this chapter, we will explore some of those features, from using additional code and resources to creating fully interactive experiences.
In this chapter, we will cover the following recipes:
- Using Swift Playgrounds for UI
- Importing resources into playgrounds
- Importing code into playgrounds
- Multi-page playgrounds
- Using Swift Playgrounds on iPadOS