Ditto for iOS Playground. Xcode Version 16.0 (16A242d).
import UIKit
var greeting = "Hello, playground"
print("My greeting: \(greeting)")
The var greeting = ... does show something in the "results" panel (RHS). But the print(...) does not.
Topic:
Developer Tools & Services
SubTopic:
Xcode