In the last post we looked at the Unicode, the international standard for encoding, representing and handling, text. In this article, we build on that knowledge and look at how we can handle, process, and manipulate, characters and strings in Swift.
In Swift there are three primary collection types – arrays, dictionaries and sets. We’ve already covered arrays and dictionaries in previous posts and in this post we’re going to complete the set (no pun intended) by looking at sets.
The Swift Programming language has a number of powerful features that are sometimes overlooked by those new to the language. In this article, we’re going to look at one such feature – pattern matching – which offers huge potential for both simplifying your code and making it much more expressive.
In previous posts we’ve talked about many of Swift’s control flow statements. In this article, we’re going to complete our set by looking at the one control flow statement that we haven’t touched on yet – Swift’s switch statement.
In previous posts we’ve already looked at some of the control flow statements available in Swift. In this article we’re going to continue on that journey by looking at Swift’s
continue statements along with the concept of statement labels.
Information is at the heart of nearly every iOS application we write. Information comes in, we write code to process it, we make decisions based on that information and then potentially take some action. But how exactly do we make those decisions?