SwiftUI Weekly - Issue #165
The curated collection of links about SwiftUI. Delivered every Monday.
News
Apple’s use of Swift and SwiftUI in iOS 17
Now that iOS 17 is available, let’s analyze its built-in apps to answer a few questions: How many binaries are in iOS 17? Which programming languages are used to develop these apps? How many apps are written with Swift? What is the percentage of apps using SwiftUI versus UIKit?
Reading
Mastering Preview macro in Swift
Xcode Preview Canvas is a crucial part of my development experience. Previews have significant changes this year by introducing the new #Preview macro. This week, we will learn about using the new #Preview macro and the benefits of this approach.
Content Unavailable Views
In iOS 17, Apple added a content unavailable view for when you need to show an empty state. It’s available for both SwiftUI and UIKit.
Combine charts to create stunning designs with Swift Charts
Swift Charts is a data visualization framework that can be used with SwiftUI to create powerful, customizable charts with minimal code. Use it to present your app's data in a visually pleasing way.
How (not) to monitor SwiftUI @State
I took some time to really dig further into what’s behind SwiftUI’s State and Binding property wrapper and the magic that is hidden from us.
Tap Gesture vs Button
When trying to execute an action from a user’s tap interaction with an app, you may realize that there are many ways to achieve this, whether you’re developing with UIKit or SwiftUI. I’ll only cover the latter, but the same applies to UIKit.
Videos
Mastering TipKit in iOS 17
I want to introduce you to TipKit, a new Framework introduced in iOS 17. It is an excellent way to introduce your users to the features of your app, and right at the start of this video, I will show you the completed result so you will know what to expect.