How to create a playground book?

Hi everyone. How to create a playground book in mac? and those code that I have learn in swiftplaygroundbook why cant i apply in my new xcodeplayground? How can i do that? Should import something?

Your help is much appreciated. Thanks

You can use the Swift Playgrounds Author Template for Xcode, which you can download from here:
https://developer.apple.com/download/more/?=Swift%20Playgrounds%20Author

You'd use this, on your Mac, to create a playground book that you can distribute and run on iPads in Swift Playgrounds.


There's also a session at this year's WWDC to tell you more (and maybe show off a new way to do it?):
https://developer.apple.com/wwdc20/10654
How to create a playground book?
 
 
Q