Swift Tutorial Swift References

Swift - Tutorial



Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. and the open-source community. It was first released in 2014 as a replacement for Apple's earlier programming language Objective-C, as Objective-C had been largely unchanged since the early 1980s and lacked modern language features. It is built with the open source LLVM compiler framework and has been included in Xcode since version 6, released in 2014.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of Swift language. This tutorial covers all topics of Swift which includes data types, operators, arrays, strings, control statements, dictionaries, sets, functions, classes, methods, inheritance and error handling. 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!

Prerequisite

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


4