Play(ground) in any Swift file
Xcode adds a #playground macro to run code snippets in any Swift file.
“We added a playground macro that lets you just run code snippets in any of your Swift files.”
An Apple WWDC clip highlights a lesser-known Xcode feature: a #playground macro letting developers run Swift code snippets inline in any file. It's a minor developer-tooling tip with no meaningful AI signal.