Swift is a new programming language used for iOS and OS X Application development. It was developed by Apple in 2010.
What is Swift programming language?
Swift programming language is the best language to develop iOS Applications and Mac OS X Applications.It is a new programming language, introduced by Apple with the new features listed below,
- A programmer writes our code and it immediately executes.
- Swift has syntax like objective-C.
- Swift uses existing Cocoa frameworks.
- Swift is safe and has a safe programming pattern.
Swift programming comes from the various popular programming languages like Python, Ruby and C# etc.
Syntax of Swift programming language
- import Cocoa
- var srt1 = "Hello, World!"
- println(str1)
Syntax of Swift programming language is very similar to Python programming.
Swift provides a range of built-in data types for storing values.They are listed below:
- Int
- Float
- Double
- Bool
- String
- Character
- Optional
Swift programming language has many decision making statements like C programming language, which are:
- if statement
- if else statement
- leader if else statement
- nested if statement
- switch statement
Types of looping statement in Swift are
- for-in loop
- for loop
- while loop
- do while loop
- Strings
- Arrays
- Structures
- Enumerations
Swift is an object oriented programming language.
Swift supports,
- classes
- inheritance
Swift programming language also supports Dictionaries.
Dictionaries are the special type data type, which accepts the key and value pair.
Dictionaries are the special type data type, which accepts the key and value pair.
This article is just a beginning. In further articles, we will learn in detail and develop our first basic Application.

Kirubashalini VeluPosted Feb 28, 2017, 6:42 AM
I like to new knowledge and thanks for your information
Shubham SharmaPosted Jan 12, 2017, 4:18 AM
Thanks for sharing this knowledge
Prasanna MuraliPosted Oct 9, 2016, 10:17 AM
Nice post..
Joe WilsonPosted Oct 6, 2016, 12:45 PM
Thank you.
Santhakumar MunuswamyPosted Jun 30, 2016, 12:51 AM
Thank you for nice article
Ajay MalikPosted Jun 29, 2016, 12:36 AM
Tq Kartik Kumar
Ajay MalikPosted Jun 29, 2016, 12:36 AM
Tq @Kuppurasu Nagaraj
Kartik KumarPosted Jun 29, 2016, 12:12 AM
9c..
Kuppurasu NagarajPosted Jun 28, 2016, 2:13 PM
Nice Sharing..