var statements

Swift also introduces automatic type inference, which is in most cases pretty handy. I used this already in C# and it saved a lot of typing. But in C# it was only restricted to method scopes, means, you can only use this inside a method and you also need to assign a value directly. In […]

Swift: Functions

What I like at Swift from my first look: Functions can have multiple return values. First time I saw this was when I had a look on Dylan. “func getGasPrices() -> (Double, Double, Double) { return (3.59, 3.69, 3.79) } getGasPrices()” Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/de/jEUH0.l