//Swift 不用包含头文件,也不需要 main 函数。 代码就是整个程序的入口点,所以也不需要main函数。 println("hello,world") //上面这一行就是整个程序了。so easy ,XXX 再也不用担心我的XXX了