Learn more about WWDC 2022

Swift’s associated types for protocols explained

Updated on: September 25, 2025

Swift 5.7 introduced many new features that involve generics and protocols. In this post, we’re going to explore an extremely powerful new feature that’s called "primary associated types". By the end of this post you will know and understand what primary associated types are, and why I think they are extremely important and powerful to […]

Read post

Differences between Swift’s any and some keywords explained

Updated on: July 4, 2025

Protocols are an extremely important part in the Swift language, and in recent updates we’ve received some new capabilities around protocol and generics that allow us to be much more intentional about how we use protocols in our code. This is done through the any and some keywords. In this post, you will learn everything […]

Read post

Presenting a partially visible bottom sheet in SwiftUI on iOS 16

Updated on: April 23, 2024

This post is up to date for Xcode 15 and newer. It supersedes a version of this post that you can find here On iOS 15, Apple granted developers the ability to present partially visible bottom sheets using a component called UISheetPresentationController. Originally, we had to resort to using a UIHostingController to bring this component […]

Read post

Expand your learning with my books

Practical Swift Concurrency (the video course) header image

Learn everything you need to know about Swift Concurrency and how you can use it in your projects with Practical Swift Concurrency the video course. It contains:

  • About ten hours worth of videos and exercises
  • Sample projects that use the code shown in the videos.
  • FREE access to the Practical Swift Concurrency book
  • Free updates for future iOS and Swift versions.

The course is available on Teachable for just $89

Enroll now