Swift Programming Language


     Swift is new powerful programming language developed by Apple Inc., for macOS,  iOS, watchOS and tvOS. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift is design to wotk with Apple's framework like Cocoa and Cocoa Touch.
Cocoa and Cocoa Touch are the application development environments for OS X and iOS, respectively. Both Cocoa and Cocoa Touch include the Objective-C run-time and two core frameworks.
Cocoa - which includes the Foundation and AppKit frameworks, is used for developing applications that run on OS X.
Cocoa Touch -  which includes Foundation and UIKit frameworks, is used for developing applications that run on iOS.
Hope this helps to understand what these framework's are..
Coming back to the original topic Swift was originally introduced in Apple's Worldwide Developer Conference (WWDC) 2014, as an alternative to Objective-C -> Apple's long term programming language. Swift took language ideas from many different programming languages , some of them are - Objective-C, Rust, Haskell, Ruby, Python, C#, CLU etc.,
        At WWDC 2015, Swift 2.0 was announced with a number of improvements and changes, including Apple's commitment to make Swift an open source language. Swift 2.0 was announced by WWDC 2015 with a number of changes and improvements. Later Swift 2.2 and 2.3 was released .
        Swift 3 beta being the latest version that was released along with Xcode 8 beta and includes numerous enhancements, many contributed by the open source community. Aldo during WWDC 2016 Apple announced ipad Exclusive app - Swift playgrounds that will help you to learn and understand Swift. If you are unaware of Swift programming language but still wanted to give an immediate try to code in Swift, download this app and you will understand how powerful Swift is..
Below is the screenshot of the app.
     Swift feels familiar to Objective-C developers. Initially during its introduction it was described as Objective-C without C. It adopts the readability of Objective-C’s named parameters and the power of Objective-C’s dynamic object model. It provides seamless access to existing Cocoa frameworks and mix-and-match interoperability with Objective-C code.
Hope this gives a brief overview of what Swift programming language is. In the next tutorial lets see how to develop simple Hello World Program using Swift language.
Hope you got to know the below listed information or answers to these question.
  1. What is Swift language ?
  2. Who developed Swift programming language
  3. When was Swift released?
  4. Swift Versions
  5. What is Swift playgrounds app
  6. Cocoa and Cocoa Touch Frameworks.

No comments:
Write comments

Popular Posts