I have been following the Apple Guide for their new language swift, but I don't understand why the bar on the right is only showing "Hello, playground" and not "Hello, world". Can someone explain why the println
isn't being printed on the right?
// Playground - noun: a place where people can play
import Cocoa
var str = "Hello, playground"
println("Hello, world");
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…