WWDC 2020: Explore Packages and Projects with Xcode Playgrounds


Session is specific to Playgrounds in Xcode (not standalone macOS, iOS app). Pretty interesting, nonetheless. I love the idea of being able to include a Playground with your package for documentation and tutorials!

The second half of the video was interesting. He demo’d CoreML and vision framework to identify fruit all within Playgrounds. This might also work on iOS and macOS app? 🤔

  • Playgrounds work in packages making a great way to demo and document
  • Frameworks and packages can be used in Playgrounds as long as they’re in the same workspace (use “build active scheme” in playground)
  • Build logs for Playgrounds available under build tab.
  • Access to images from asset catalog (drag into playground)