Error handling is a very important topic and I’ve written already a blog post about that topic. You can also check out my talk about that topic on the Swift Summit in San Francisco. In this post
Continue readingThe so-called Nil Coalescing Operator is an interesting operator, that you can use for working with optionals.
Continue readingC-style for-loops will be removed in Swift 3. This may seem a little bit strange at first sight. But Swift has some features that allow better loop structures. C-style for-loops Let’s start by looking
Continue readingRecently there were some interesting reports and articles about the state of Swift. In this post we will discuss them and put them in perspective.
Continue readingThe Swift and Objective-C interoperability is very good so that it is very easy to use both Swift and Objective-C in one project.
Continue readingIn Swift you can easily create public properties with private setters. It makes your code much safer and shorter.
Continue readingOn 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 readingIf 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 readingWith the keywords weak and unowned you can avoid so-called reference cycles. In this post we will discuss the differences between them.
Continue readingThe future belongs to Swift, but does this mean that you should migrate Objective-C code to Swift?
Continue readingWith the functions map and flatMap you can easily transform an array into a new one.
Continue readingAlthough 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