SwiftUI Weekly - Issue #111
The curated collection of links about SwiftUI. Delivered every Monday.
Eager Grids with SwiftUI
Introduction Back in 2020, we got new views to draw grids in SwiftUI. Two years later, we are getting yet another view to display views in a grid. However, these new addition is very different, not only in the way you use it, but also how it behaves internally.
ViewThatFits in SwiftUI
How often did you use GeometryReader to measure layout and place different views? GeometryReader was always a great tool in our toolbox, but It is elementary to break the layout while using the GeometryReader. Fortunately, the next generation of the SwiftUI framework introduces a new way to measure available space and place different views. This week we will learn how to use the brand new ViewThatFits view.
Creating Reusable and Shareable Color Palettes
Having a full range of colors ensures consistency across your apps. Learn to build reusable & shareable color palettes with Xcode.
SwiftUI gauge views come to iOS 16.
Removing the iOS home indicator in SwiftUI
In SwiftUI 4 and iOS 16, you will finally be able to hide the home indicator on iPhone and iPad devices that don’t have a home button, without resorting to UIKit hacks. Let’s see how.
Extracting Views Into Components in SwiftUI
In this video, build on top of our last video and add some improvements in to our SwiftUI app. We'll look at how we can clean up our code by extracting out our UI code into computed properties and separate views.
SwiftUI: Packaging Views
Learn how to extract your SwiftUI view into a Swift Package that you can reuse in your other apps!