Swift training with one of industry's best

3 Swift workshops over 4 days this November in London, UK

Daniel Steinberg

Daniel is the author of more than a dozen books including the best selling books A Functional Programming Kickstart, A SwiftUI Kickstart, A Swift Kickstart and Dear Elena.

Daniel presents iOS, Functional Programming, SwiftUI, and Swift training and consults through his company Dim Sum Thinking.

He has written apps for the iPhone and the iPad since the SDKs first appeared and has written programs for the Mac all the way back to System 7. When he's not coding or talking about coding for the Mac, the iPhone, and the iPad he's probably cooking, baking bread, or hanging out with friends.

Information on his books and videos is available on the Editors Cut website. Details on his training, and speaking is on the Dim Sum Thinking website.

November 13th

Data flow in SwiftUI

from @State to Observable to SwiftData


This fast moving workshop will examine the many ways we work with state in a SwiftUI app.

  • We'll begin with a quick look at the familiar case in which state that belongs to the View itself and look at some requirements and best practices for @State and @Binding.
  • Next, we move the state to controllers and models and work with ObservableObjects and @Published.
  • We briefly explore AsyncStreams and AsyncSequences before moving to the all-new Observable APIs.
  • Finally, we see how easy it is to persist model data using the new SwiftData framework.

Whether you've embraced CoreData in the past or avoided it up to this point, you will see the future for persistence on Apple devices in this first look at SwiftData.

November 14th & 15th

Introduction to Async/Await


Looking to elevate your app development skills? Join us as we delve into Swift async, a transformative approach introduced by Apple for more efficient coding.

What you'll learn:

  • An introduction to Swift async and its significance in modern app development.
  • Practical insights to maximize app responsiveness and fluidity.
  • Interactive coding sessions to cement your understanding.

By the workshop's conclusion, participants will be equipped to implement Swift async techniques, leading to apps that deliver better user experiences. Whether you're fairly new to coding or have some experience under your belt, this workshop offers a balanced blend of theory and hands-on learning. Let's navigate the future of async together!

You will need the latest publicly shipping version of Xcode.

November 16th

Pioneering Swift Macros

unlocking power with Swift Macros and code smarter


In this intro we will explore the new features in Swift Macros and the existing features they build upon.

We start the day with an extended look at how we might transition our code from using @Published and ObservableObjects to the new Observable macro. Along the way we'll see an example that uses AsyncStreams which will suggest a first macro of our own that we can create. We'll begin by looking at the various situations in which macros might and might not be appropriate and try to convince you not to reach for them too quickly.

We examine the different types of macros that are available in Swift 5.9 and have actual examples of why it's important to select the appropriate type. We'll consider what's involved in basic parsing before digging into parsing an Abstract Syntax Tree using SwiftSyntax to pull out the pieces you need for your macro. We put in error handling and write tests to make our macros more robust.

There will be time for us to work in groups on macros suggested by the class.

You will need the latest publicly shipping version of Xcode.

The Swift workshops will take place in a location in central London, UK, in November 2023. Exact details will be provided closer to the date.