The Collatz Conjecture: Revisited

I was digging through some of the posts on my old site and I came across the The Collatz Conjecture. I wrote it around four years ago, during the Swift 2.2 days. I thought I’d try making it a bit...


An easy to use protocol for creating and presenting SLComposeViewControllers.

Implementing UISearchController

With iOS 8, Apple introduced a more streamlined approach to incorporating a UISearchBar and associated search functionality. In this post, we look at how to implement UISearchController.

Extending Array to Enforce Unique Elements

Arrays store values of the same type in an unordered list, but they don't enforce uniqueness. This post looks at how to extend Swift's Array to ensure only unique items are added.