What Is Swift?

2 minutes
Share the link to this page
Copied
  Completed
Learn about Swift is and why you should use it over anything else.

Transcript

Hello and welcome to the first tutorial in the swift basics tutorial series. And in this part we'll just be looking at what is Swift. Swift is basically Apple new programming language, which is in the C family that was announced last week at WWDC 2014. it closely resembles Python. It's very lightweight and fast. It helps him fight a lot of code but it is exclusive to Apple platform. So you might want to keep that in mind when you are using it and learning how to use it for now you need to be a Apple developer and download Xcode six beta, Xcode six beta works on Mac OS 10 point 9.3 or mac os 10 point 10, aka Yosemite.

And this is the developers preview which is lucidly available to developers, but the public beta will be released this summer. But dictatorial will still be relevant then and when it is actually finally released. So Downloaded let's show you how to just set up a new project. So it's gonna go on either playing get started with the playground, we can create a new project, we're just gonna do a new project. And we're just going to a command line application from the calc application or game. So if you do game, you just select your language from here.

And same with cocoa application, select your language, but just for the purpose of this series as you're just learning the swift language, we'll just be using the command line. For this we're gonna put swift to Toriel languages obviously Swift, click Next. Click Create on the desktop. And we have a swift file. It's had the extension dot Swift. many languages use semicolons to end the line but it's is not necessary in Swift, but it can be used so we've got this current line and we can put a semicolon at the end if we wanted, but it is not necessary but it is necessary when putting multiple statements on a single line for we just mentioned that from the beginning that's it for this tutorial.

In the next tutorial we're gonna look at print nine. If you have any question feel free to message us put us on our system, Cody Kay, the email will be in the description. You can comment on this video directly messages for a YouTube fan for watching and have a nice day.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.