Swift Clips: Key paths and functions
May 8, 2020, 12:55 PM
Let’s take a look at how Swift’s key paths work, and how they relate to functions — both in terms of what comes built into the language itself, and what kind of utilities that we can write ourselves to form some really nice convenience...
Swift Clips: Controllers in MVC
Apr 28, 2020, 12:08 PM
Let’s take a look at the role that controllers play within the MVC design pattern, and how we can avoid some of the most common issues when working with them — particularly around how we can break up Massive View Controllers into smaller...
Swift Clips: Managing URLs and endpoints
Mar 31, 2020, 3:37 PM
In this video, we’ll take a look at three different ways to manage the URLs and server endpoints that a Swift app is communicating with, and the sort of pros and cons that come with each approach.
You can find all of the sample code from...
Swift Clips: SwiftUI stacks and spacers
Feb 19, 2020, 3:43 PM
Let’s take a look at how SwiftUI’s various stacks and spacers can be used to achieve many kinds of flexible, adaptive layouts with very little code. While SwiftUI does include several more advanced layout APIs, stacks and spacers are a...
Swift Clips: Dispatch queues
Feb 3, 2020, 2:34 PM
Swift Clips is a new series of shorter videos showcasing interesting and useful Swift tips and techniques. In this second episode we’ll take a look at the DispatchQueue API, and how we can use it to write concurrent and asynchronous code...
Swift Clips: First class functions
Jan 16, 2020, 2:20 PM
Swift Clips is a new series of shorter videos showcasing interesting and useful Swift tips and techniques. In this first episode we'll take a look at first class functions, which is a language feature that enables us to use functions in...