Category Archives for Swift

Swift 3 And Beyond

On December 3, 2015, the Swift language was released as open source. It also involves a roadmap for Swift 3, which will be released in fall 2016.

Continue reading

The Pyramid Of Doom In Swift

If you are using a lot of nested indentations, your code becomes rapidly unclear – the pyramid of doom. You can avoid this by using the keyword guard.

Continue reading

Swift: weak and unowned

With the keywords weak and unowned you can avoid so-called reference cycles. In this post we will discuss the differences between them.

Continue reading

Should You Migrate Objective-C Code To Swift?

The future belongs to Swift, but does this mean that you should migrate Objective-C code to Swift?

Continue reading

Swift: map and flatMap

With the functions map and flatMap you can easily transform an array into a new one.

Continue reading

A Trick To Discover Retain Cycles

Although ARC does most of the memory handling work for you, your app can still suffer from so-called retain cycles. So it is very important to discover them.

Continue reading

Swift Tutorial For Beginners: Part 1

Swift is Apple’s new programming language for developing applications for iOS, watchOS, tvOS and Mac OS. In this Swift tutorial you will learn all its basics.

Continue reading

Swift: Using Local Closures

Closures are often used as function arguments. But sometimes there are situations where local closures can be very handy.

Continue reading

Five Myths About Swift

Swift is still a very young technology, but there are already a lot of myths about Swift.

Continue reading

Type Casting in Swift

In object-oriented programming, type casting is used to treat an object as one of another type. In this article we will discuss how this works in Swift.

Continue reading

Swift 2.0: API Availability Checking

Swift is all about safety. With the introduction of the automatic API availability checking in Swift 2.0, there is another great new feature that makes your apps more stable.

Continue reading

Should You Use Objective-C or Swift?

At the moment Apple has two major programming languages. So should you use Objective-C or Swift?

Continue reading