Discover more from SwiftUI Weekly
SwiftUI Weekly - Issue #70
The curated collection of links about SwiftUI. Delivered every Monday.
Button and AttributeString style updates, & more!
SwiftUI Release 3 brings a few generic view modifiers that allow us to handle semantically similar operations for different views in the very same way. One of these view modifiers is onSubmit, which we can use to manage both forms and search fields. This week we will talk about another view modifier that SwiftUI provides us to display confirmation dialogs.
Often many different SwiftUI views of an app want to handle errors in the same way. This article describes a starting point for a generic error handling mechanism.
The idea I had when I decided to write this short article was that I a) wanted to share some of what I learned and b) these short articles helped me a lot when learning to code.
Once the sidebar is collapsed, there is no way to get it back. Learn how to mitigate the situation.
in SwiftUI the preview can be displayed with different orientations using the previewInterfaceOrientation() view modfier. In this tutorial, the preview will be displayed with the four different orientations: portrait, portraitUpsideDown, landscapeLeft, and landscapeRight.
In this playlist we explore SwiftUI Data Flow and how we can use it with practical examples. We'll cover how to use State, Bindings, ObservedObject, StateObject & EnvironmentObject all with practical examples.
In today's video I show you how to create various gradients in SwiftUI. Specifically, the Linear Gradient, Radial Gradient and Angular Gradient. We use the very common use case of a button to showcase how to use these gradients.