iOS Swift from Apple

Swift is a programming language for iOS, OS X, and watchOS developed by Apple Inc.

It is designed to work with Apple’s Cocoa framework and Objective-C code. Swift has many advanced features to make coding for iOS more easy.

APIs in Swift language is easier to read and maintain. Inferred types make code cleaner and less prone to mistakes, while modules eliminate headers and provide namespaces. Memory is managed automatically and there is no need to type semi-colons. It has been optimized to develop applications in latest mobile and desktop devices.

It is built with the LLVM compiler framework included in Xcode 6, and uses the Objective-C runtime, allowing C, Objective-C, C++ and Swift code to run within a single program.

According to Apple – “Swift has been refined from the ground up. It generates faster code across the board, both for release and debug builds. The Swift compiler is also faster, even while adding new Fix-it suggestions such as where you can use let instead of var. Comments can include Markdown syntax to add rich text and embedded images that display in Xcode’s Quick Help. A new assistant shows your Swift API in a “header-like” view. And new syntax features combined with improvements to the Cocoa frameworks and Objective-C will make your code more expressive, and even safer.”

Another advantage of using Swift is that, this year Swift will be released as open source. Due to Swift’s unique combination of elegance, power, and safety more and more iOS developers are now shifting to coding using Swift language

More Info on Swift Language

Introduction to Swift

https://developer.apple.com/swift/

About Swift

https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/

Teaching App Development with Swift

https://swifteducation.github.io/teaching_app_development_with_swift/

Xcode 7 + Swift 2

https://developer.apple.com/swift/resources/

Related Posts