What's new in playgrounds

Asked on 06/13/2025

1 search

At WWDC, Apple introduced several updates related to Playgrounds, particularly in the context of Xcode and the Foundation Models framework. Here are some highlights:

  1. Playgrounds in Xcode:

    • Playgrounds are now enhanced to help developers understand existing code and try out new ideas. A new Playground macro is being open-sourced to benefit Swift developers on other platforms. This was discussed in the session What’s new in Xcode.
    • The updated Playgrounds feature in Xcode allows for quick iteration on code, similar to SwiftUI previews. This feature is particularly useful for testing and iterating on code without needing to rebuild the entire app.
  2. Playgrounds and Foundation Models:

    • The Foundation Models framework session highlighted the use of Playgrounds for testing prompts with large language models. This allows developers to quickly iterate on their prompts and see results in real-time, which is crucial for building applications powered by AI. This was covered in the session Meet the Foundation Models framework.
  3. Playgrounds for iPadOS:

    • The session on evolving document launch experiences mentioned that Playgrounds for iPadOS adopted a new launch experience, enhancing the way users interact with coding tutorials and app creation on the platform. This was discussed in the session Evolve your document launch experience.

These updates make Playgrounds a more powerful tool for developers, enabling them to experiment and iterate more efficiently across different Apple platforms.

What's new in playgrounds | Ask WWDC