Category Archives for Swift

One Year of Swift

One year ago Apple introduced Swift, which was a very surprising move.  What remains after one year?

Continue reading

Swift 2.0: defer

defer is another new keyword in Swift. With this statement you can declare clean-up code, that is executed just before the current scope ends. For example, this scope can be a function or a loo...

Continue reading

Swift 2: guard

In Swift 2, there is a new keyword for handling the control-flow of a block of code. It guarantees, that a specific condition holds true for the further code. Otherwise, it ensures that the following

Continue reading