SwiftUI Weekly - Issue #186
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Discovering app features with TipKit. Basics.
When I first discovered the title TipKit, I didn’t expect that it would be super helpful for every app I built. TipKit is a new framework that allows you to highlight your app’s features easily. This week, we will learn how to use the TipKit framework to make our app content more discoverable.
Pointfree's SyncUps App: A Great Example Architecture for a SwiftUI App
So, this article will talk about what I think is a great example of architecture for a SwiftUI app. Pointfree’s own SyncUps app. The example actually has 2 apps, one showing tree-based navigation, and one showing stack-based navigation. For this article, I will just focus on the stack-based example.
The Dark Side of Unidirectional Architectures in Swift
A year ago, I wrote a long article comparing different flavors of unidirectional architectures in Swift. Here, I will present what I consider to be the main problem of them all. Well, it’s not a problem of unidirectional architectures per se. Rather, it’s a problem of modeling the actions or events as values.
Mastering the containerRelativeFrame Modifier in SwiftUI
At the WWDC 2023, Apple introduced the containerRelativeFrame
view modifier to SwiftUI. This modifier simplifies some layout operations that were previously difficult to achieve through conventional methods. This article will delve into the containerRelativeFrame
modifier, covering its definition, layout rules, use cases, and relevant considerations.
Creating Settings Screen in SwiftUI With AppStorage
Today, we will create a very simple Settings screen. I didn’t think beforehand about this, but this article is perfect if you are doing a take-home project that requires you to create a settings screen for your assignment. It’s literally copied and pasted from this article. So, if you are looking for an article explaining how to create a Settings view for your take-home test, you belong here.
How to use custom fonts and images in a Swift Package
Create a design system module with custom fonts, reusable components, and working Xcode Previews.
Videos
Valuable Swift and SwiftUI techniques
This is the presentation that Stewart planned for Deep Dish Swift 2024.