Install Swift 3.0.2 iOS Programing Language on Ubuntu

Install Swift 3.0.2 iOS Programing Language on Ubuntu

Swift 3.0.2 most recent release, is an interactive, fun general-purpose programming language built using a modern approach to safety, performance, and software design patterns. Swift supports both iOS, OS X, tvOS, and watchOS. The syntax is concise yet expressive, and apps run lightning-fast.

Key Features

Swift includes features that make code easier to read and write, while giving the developer the control needed in a true systems programming language. Swift supports inferred types to make code cleaner and less prone to mistakes, and modules eliminate headers and provide namespaces.

Memory is managed automatically, and you don’t even need to type semi-colons. Swift also borrows from other languages, for instance named parameters brought forward from Objective-C are expressed in a clean syntax that makes APIs in Swift easy to read and maintain.

The features of Swift are designed to work together to create a language that is powerful, yet fun to use. Some additional features of Swift include:

  • Closures unified with function pointers
  • Tuples and multiple return values
  • Generics
  • Fast and concise iteration over a range or collection
  • Structs that support methods, extensions, and protocols
  • Functional programming patterns, e.g., map and filter
  • Powerful error handling built-in
  • Advanced control flow with
    do

    ,

    guard

    ,

    defer

    , and

    repeat

    keywords

How to Install Swift 3.0.2 iOS Programing Language on Ubuntu 16.04

sudo apt-get install clang libicu-dev    wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -    wget https://swift.org/builds/swift-3.0.2-release/ubuntu1604/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu16.04.tar.gz    tar xzf swift-3.0.2-RELEASE-ubuntu16.04.tar.gz    export PATH=swift-3.0.2-RELEASE-ubuntu16.04/usr/bin/:"${PATH}"    swift  

How to Install Swift 3.0.2 iOS Programing Language on Ubuntu 14.04

sudo apt-get install clang libicu-dev    wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -    wget https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz    tar xzf swift-3.0.2-RELEASE-ubuntu14.04.tar.gz    export PATH=swift-3.0.2-RELEASE-ubuntu14.04/usr/bin/:"${PATH}"    swift
Related Posts
Leave a Reply

Your email address will not be published.Required fields are marked *