SwiftUI Tutorials

Tutorials, practical guides, and more about the SwiftUI framework.

Setting Background Color in SwiftUI Views

Applying a background color in SwiftUI views is something simple, but not so obvious if coming from UIKit. Learn here how to achieve that.

Using Segmented Control in SwiftUI

Implementing a segmented control in SwiftUI is an easy task, and here you will learn how to do so properly, plus you will get a bonus tip.

Rounding Specific Corners In SwiftUI Views

Find out how to make it possible to round specific corners of SwiftUI views by using UIBezierPath and creating a reusable shape.

Creating Custom Button Styles In SwiftUI

Read how to create custom button styles in SwiftUI, what are the benefits by doing that and how to achieve reusable custom button appearance.

Applying Text Transformations in SwiftUI

Check out this quick tip and find out how to apply font transformations such as small caps to SwiftUI texts.

Using the clipShape Modifier on Images in SwiftUI

Learn how to apply a shape mask on SwiftUI views with the clip shape modifier in a quick guide, as well as how to change shape on the fly.

Handle Press And Release Events in SwiftUI

Learn how to detect and handle press and release events in SwiftUI, and how to create a custom modifier to simplify that task.