Swift


Swift is a compiled programming language created by Apple, and it combines elements from C and Objective-C languages. It has modern features and safe patterns that makes programming more adaptable and easier.

Swift is a fresh approach to programming languages and is supported by the well-known Cocoa and Cocoa Touch frameworks. It is a programming language built with the LLVM compiler framework that is included in Xcode (version 6 or later). Swift allows programmers to combine C, Objective-C, C++ and Swift code within a single app.

Advantages

  • Swift is easy to read - some C elements did not made their way into this language
  • The way you can handle strings in Swift is a big advantage over Objective-C, being much simpler
  • The language tuples offer compound variables which means that values in tuple can be of any type
  • Swift is a complete language with modern requirements
  • It introduces generics, functions that can be reused with different variable types without being rewritten for each type (they are basically less powerful C++ templates)
  • A new feature called “Playground” allows developers to get an instant feedback of his work
  • Swift is an open-source programming language

Disadvantages

  • Lower performance than other similar technologies (such as: Objective-C)
  • Swift is not a cross-platform programming language
  • Third party libraries and source codes are only available in Objective-C
  • Swift doesn't support pure virtual functions, so abstract classes can't be created

Components

  • Core Libraries
  • Language Constructs
  • Package Manager

Development tools

  • Xcode 6.0Swift programming language

Versions

  • Swift 1.x
  • Swift 2.0
  • Swift 2.1
  • Swift 2.2



Recent posts on our blog
Remote Connections: The Name of the King
Nov 06, 2017, by Cristian
Let’s have a look at the three most popular remote desktop applications, namely Microsoft’s Remote Desktop Connection, VNC Viewer and TeamViewer.... read more
4 ways to build a killer mobile app
Aug 25, 2017, by Dragos
There still is a lot of growth potential in the mobile industry. There are untapped areas that will be discovered in the near future. You can do it as well, therefore this is the right time to choose a mobile development career.... read more
Hadoop: the future is now - and it's all about Big Data
Jun 05, 2017, by Dragos
Apache Hadoop is an open-source software written in Java, a framework that allows for the distributed processing of very large data sets across clusters of computers.... read more
Products  |  Press  |  Site Map  |  Technologies  |  Terms of Use  |  Privacy Policy
© 2017 SBP Romania. All rights reserved.