DEV Community

Cover image for Learn With me:Apple's Swift Hello World
Ansh
Ansh

Posted on β€’ Edited on

4 1

Learn With me:Apple's Swift Hello World

Hi guys, I'm Ansh and today in this tutorial we are going to learn Swift which is a powerful and initutive programming language by Apple.It's used to create apps for iOS,MacOS,watchOS and so on.Swift's code is concise yet easy to understand and write.
So tighten your seat belts and get ready to take-off .

𝗛𝗲𝗹𝗹𝗼 π—ͺ𝗼𝗿𝗹𝗱
So keeping the tradition in mind we are going to start with our Hello World in Swift and here it's

// Swift "Hello, World!" Program

print("Hello, World!") 
Enter fullscreen mode Exit fullscreen mode

and this will result into

Hello,World!
Enter fullscreen mode Exit fullscreen mode

The code above displays the text Hello, World! on your screen.

Congratulations! You just wrote your first program in Swift.

In next part we'll learn about variables, constants, and literals in Swift.

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series πŸ“Ί

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series πŸ‘€

Watch the Youtube series

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay