Using KeyPaths as functions in Swift 5.2

One of Swift 5.2’s new features is the ability to use KeyPaths as functions. This can be extremely useful in cases where you’d only return the value of a certain KeyPath in a closure. Let’s look at a… Read more

Similar

Thoughts on Swift access control

There has been a ton of debate on the swift-evolution mailing lists about access control in Swift. A couple of days ago, the proposal SE-0159: Fix Private Access Levels was rejected. I want to share my thoughts on this, as well as thoughts on the larger s... (more…)

Read more »

Swift Pointers Overview

Learn Swift pointers with code examples: Unsafe, Buffer, Raw, Managed, Mutable, and Typed Pointers. What are pointers? When to use them? What can we get from them? These are the questions to answer in this article. (more…)

Read more »

Getting started with Swift 3 on Linux

In this article, I will show you how to install and use Swift 3 on Linux. Swift is officially tested and supported on Ubuntu Linux. I will assume that you have Ubuntu 16.04 installed on your server or on your local computer.

Read more »