SwiftUI Weekly - Issue #146
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
What is new in SwiftUI after WWDC 23
WWDC 23 is here, so many things have changed and been added to the SwiftUI framework. In this post, you can find the summary of the most significant SwiftUI features available in the 5th iteration of the framework.
ContentUnavailableView: Handling Empty States in SwiftUI
ContentUnavailableView is a SwiftUI view introduced in iOS 17 during WWDC 2023. It allows you to handle cases of networking failure or empty search results. It’s essential to explain an empty state and its cause to your users.
Inspectors in SwiftUI
At WWDC23, Apple just released a load of new SwiftUI improvements. Among them there is a new SwiftUI inspector(isPresented:content:) modifier. On macOS and iPadOS this modifier adds a column on the trailing edge of the window. On iPhone and in compact horizontal size class on iPad it defaults to a sheet.
Make your Chart Scrollable with SwiftUI Charts
Finally, with Xcode 15 and iOS 17 you can make your SwiftUI Charts scrollable. Apple introduced some new APIs that make this process easy and customisable.
Videos
SwiftData Is Way Easier Than CoreData 😇 | Build A Todo app in SwiftData Tutorial
The SwiftUI team just dropped a madders, we've now got a CoreData alternative called SwiftData. In this SwiftData CRUD tutorial. We'll be looking at how to build a swiftui todo list app.