Programming Fundamentals/Introduction/Swift

hello.swift

edit
// This program displays "Hello world!"
//
// References:
//     https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTour.html

print("Hello world!")

Try It

edit

Copy and paste the code above into one of the following free online development environments or use your own Swift compiler / interpreter / IDE.

See Also

edit