Writing async code in Swift is (mostly) a joyful experience. Things can get hairy though when writing something like an API Client with functions that accept multiple closure arguments, which themselves accept multiple arguments.
When something returns nil, it spreads like a disease. Checks for nil and optional unwrapping pollute all the functions around. The whole object-oriented approach suffers. Instead of creating objects and telling them to do work, we write procedural code “if this is not nil, do…
iOS 8.3+Swift 1.2Font Awesome 4.3.0+
In this tutorial we’ll create UIButtons that display an icon with a text description below. Achieving…
A lot has been told about the guard statement since its appearance in Swift. Indeed, it simplifies code and makes it more readable. But is guard really a silver bullet?
iOS 8.3+
Swift 1.2
Parse 1.7.2
2015/04/14 — Updated to cover Parse 1.7.2.
Before diving into Swift Sequences, let’s see a strange behavior.
These were the top 10 stories published by Swift Programming in 2015. You can also dive into monthly archives for 2015 by using the calendar at the top of this page.