all
❯ 06/08/2014
Using @autoclosure to write a Swift syntax extension
Swift's @autoclosure allows to extend the Swift syntax in fantastic ways. Observe how we re-implement the `cond` function from Lisp
❯ 06/17/2015
Generic method overloading by protocol in Swift
See how you can even overload methods in a generic manner by using protocols
❯ 06/19/2015
Using try / catch in Swift with asynchronous closures
Swift's `try` / `catch` error handling is great. However, you can't use it in an async context. This article briefly explains which options you have if you intend to use Error Handling asynchronously
❯ 08/25/2015
Optional throw via try? in Swift 2
Swift 2.0 includes a new way of handling exceptions via the try? keyword. This is a quick post to explain the basics, and why this is cool.
❯ 09/30/2015
Getting your iPhone 6s Chip Foundry from Swift
This quickly explains how you use private apis from Swift in order to figure out the manufacturer of your fancy new iPhone 6S CPU
❯ 12/08/2015
Swift Package Manager: Create and Use a X11 package on Linux
A tutorial on how to create a Swift Package for X11 on Linux and use it to write a simple X11 app
❯ 03/29/2016
Three tips for concise Swift using the Guard statement
Three quick examples for how you can use guard to write shorter and simpler code
❯ 04/23/2016
Raw value initializers for enums with associated types
Once you add associated types to an enum the task of creating instances quickly becomes very repetitive. See how a simple trick can greatly simplify this
❯ 04/14/2016
Force optionals in multi-unwrapped 'guard let' or 'if let'
Mixing optional and non-optional functions in a guard is impossible and requires breaking up the lines. Here's a neat solution on how to circumvent this.
❯ 07/15/2016
Data in Swift 3 parsing a Doom WAD File
Swift 3 replaces NSData with the Data value type. Implement a Doom Wad file parser with the new Data type to understand the differences.
❯ 09/30/2017
Value Types for Simple Difference Detection
Utilize value types to quickly determine a differences between two sets of data
❯ 10/08/2017
Taming SourceKitService for Less Xcode Memory Consumption
Taming SourceKitService for less Xcode memory consumption
❯ 05/03/2018
Expanding Swift's Reach
How can we as a community help expanding the reach of Swift