Flipping Cards with Swift and UIKit

One requirement I had recently was to display cards in an iPhone application and upon tapping on it, flip the card around. This article goes into details on how to do that with the help of Swift and UIKit. Note that this article uses Swift as an example, so you…

Read this article

Access Control in Swift

Since Swift was released at WWDC this year, Apple have clearly stated the language is still in beta. This was proven by the fact that the last release, beta 4, introduced a new feature, "Access Control." Initially when Swift was released, this did seem like a glaring omission as almost…

Read this article

You say Constructor Chaining, Swift says Initializer Delegation

One of the things that one must get used to with a new language is dealing with new conventions. Now coming from mostly a Java and Ruby background, there is a notion of constructors and constructor chaining, basically when one constructor calls another one. So when it comes to Swift…

Read this article

Swift REPL

A Read-eval-print-loop (REPL) is a simple program that takes input and immediately gives user feedback. The new language from Apple, Swift comes complete with its own REPL shell. To use it follow these simple instructions in a terminal. This is assuming you already have Xcode6 installed. $ sudo xcode-select -s /Applications…

Read this article

First impressions of Swift

First impressions of Swift I’ve spent most of my idle cycles over the last week or so having a closer look at Swift, the new Apple programming language that was announced recently at WWDC. Here is a quick summary of what I like and dislike so far. Mind you…

Read this article