SwiftUI Custom View Modifiers

Create your own custom SwiftUI view modifier when you want to reuse a set of modifiers on multiple views. Removing duplication also cleans up and improves the readability of your SwiftUI views. Here’s my starting point. A SwiftUI view that contains two text views with some styling applied:

Read more