import Cocoa //或者import Foundation
print("Hello World")print("Hello World")print("Hello World")print("Hello World")print("Hello World")print("Hello World")
PS: 这里println方法已经弃用了。以后打印输出方法就用print
import Cocoa //或者import Foundation
print("Hello World")print("Hello World")print("Hello World")print("Hello World")print("Hello World")print("Hello World")
PS: 这里println方法已经弃用了。以后打印输出方法就用print
本文标题:Swift的启程-Hello World
本文链接:https://www.haomeiwen.com/subject/cqlydttx.html
网友评论