Apple's Swift Programming Language

Swift Script : Syntax Highlighting and Indentation for Vim Text Editor

It will be nice to see, if the code in a Swift script is colored, highlighted and intended according to the language constructs. In Apple’s Swift repository ( https://github.com/apple/swift/tree/master/utils/vim ), there exists a vim plugin, which will help us to display language constructs in more easily readable format by applying syntax highlighting, if the script […]

Apple's Swift Programming Language

Executing Swift Code from Files in Ubuntu Linux as Script

In our previous article, we have seen how to setup Swift programming language in Ubuntu Linux and how to invoke Swift’s interactive shell to play with Swift language. In this article, we will see how to run a Swift program saved in a file from Ubuntu Linux terminal as a script. 1. Open a text […]

Apple's Swift Programming Language

Starting up Swift Programming in Ubuntu 14.04

In this article, we will see how to start up Apple’s Swift programming in Ubuntu 14.04 ( code named Trusty). 1. Install the library ‘clang’ In Ubuntu, open a terminal and enter the command given below : 2. Download the latest version of Swift for Ubuntu 14.04 from the given below link : 3. Extract […]