SwiftUI Weekly - Issue #187
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Discovering app features with TipKit. Rules.
This week, we will continue discussing how to highlight app features using the TipKit framework. TipKit provides a flexible way of customizing the condition under which tips should appear.
What Does spacing = nil Mean in SwiftUI?
In SwiftUI, many layout container constructors include a spacing
parameter with a default value of nil
, which controls the spacing between adjacent views. This article will start with this default parameter to explore the concept of Spacing
in SwiftUI in-depth, and share some related tips and considerations.
React to network status updates in SwiftUI
In this short post we'll look into how to easily manage network status updates in SwiftUI by using the NWPathMonitor as an async sequence. This method integrates seamlessly with your views for efficient updates.
Avoid These Common Errors When Switching from UIKit to SwiftUI
In today's blog post, we are going to refactor a SwiftUI view to use simple, idiomatic SwiftUI. We will add support for Dark Mode and Dynamic Type. In the process, I will point out a bunch of mistakes that I find UIKit programmers make when first starting SwiftUI.
Using materials with SwiftUI
Learn how to use materials on a SwiftUI app interface.
Videos
Did you know that Xcode Previews also work with UIKit?
Vincent Pradeilles shows how to use Xcode Previews in a UIKit-based project.