Jump to content

Programming Fundamentals/Introduction/Swift

From Wikiversity

hello.swift

[edit | edit source]
// 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 | edit source]

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 | edit source]