Data flow in SwiftUI
from @State to Observable to SwiftData
November 13th
Introduction to Async/Await
when and how to use the asyncronous methodology in Swift
November 14th & 15th
Pioneering Swift Macros
unlocking power with Swift Macros and code smarter
November 16th
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.
This fast moving workshop will examine the many ways we work with state in a SwiftUI app.
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.
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:
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.
unlocking power with Swift Macros and code smarter
£300
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.