$swift Welcome to Swift! Type :help for assistance. 1> import UIKit <REPL>:1:8: error: no such module 'UIKit' import UIKit ^
Swift REPL在Mac上以“iOS”模式运行在Playground中;只是想从命令行得到相同的东西.
有关此内容的更多信息,请观看WWDC 2014会议409 – LLDB简介和Swift REPL.