Structuring Content
Add content to a playground book by creating new folders and property lists.
้่ฆๅ
็ด
books๏ผpackage root-level Swift Playgrounds content.
chapters๏ผgroup pages and cutscenes within a book.
pages๏ผwrite the primary teaching or exploratory content of the book.
modules๏ผimplement live views and provide the APIs learners write code against.
user-editable modules๏ผgive learners a space to store and reuse code.
Intersperse cutscenes with pages๏ผintroduce or summarize concepts.
Each part of a playground book must include a manifest property list that contains metadata and references to shared resources.
Last updated