SwiftUI Weekly - Issue #159
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Thread safety in Swift with locks
Today, we will discuss thread safety, an essential programming aspect. I decided to cover this topic because of the issue I’ve noticed in the codebase I helped to build. This type of bug is straightforward to create but very hard to fix. So investing time into building a type-safe type in your codebase is much better.
SwiftUI Sensory Feedback
In iOS 17, Apple added a range of sensory feedback view modifiers to SwiftUI, removing the need to rely on UIKit.
Animating with PhaseAnimator in SwiftUI
WWDC’23 introduced us to new view modifiers for animating views in SwiftUI. In this blog post, we are going to have a look at phase animation view modifiers.
Videos
Scrolling Charts in iOS 17
In this video, I want to introduce you to the new Scrolling feature that was introduced for Charts in Xcode 15 for iOS and MacOS.
How To Use SwiftData with Preview
In this Swift Data tutorial, we'll be looking at how to use SwiftData with Previews. I'll be going over some common issues that you may face when trying to use SwiftUI Previews with SwiftData and some tips and tricks to help you use your SwiftUI Previews better.
SwiftUI Fundamentals | FULL COURSE | Beginner Friendly
Get your start in SwiftUI with SwiftUI Fundamentals. In this 12-hour course, we build 4 apps that ramp up in difficulty. The first 3 apps are quite simple, but the 4th and final app grows substantially in size and challenge. See the timestamps at the bottom of the description for the full curriculum.