Swift Tutorial
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

Swift - Tutorial

Swift is a middle-level and general-purpose programming language created by Bjarne Stroustrup starting in 1979 at Bell Labs. It is an extension to C programming with additional implementation of object-oriented programming (OOPs) concepts. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. Swift is the most widely used programming languages in application and system programming.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of Swift. This tutorial covers all topics of Swift which includes data types, operators, arrays, strings, control statements, pointers, classes, object-oriented programming, constructor, destructor, inheritance, polymorphism, encapsulation, namespace, exception handling & File IO. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn Swift in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Hello World" example is mentioned below for the illustration purpose:

// Hello World Example
print("Hello World!")

The output of the above code will be:

Hello World!.


Before continuing with this tutorial, you should have basic understanding of any programming language.