“Hello, World!” in Swift

When you start learning a new programming language, the most straightforward application you can write in any language is the "Hello, World!" application.

Swift code is written plaint text files with a .swift  file extension

// Swift "Hello, World!"

print("Hello, World!") 


Hello, World!

as you might guess from the code above. print is a function that takes a text and prints it to the console.

you can use the Playground app or even you can learn Swift online here