ViewModifiers in SwiftUI

ViewModifiers play a central role in SwiftUI, and in this post Majid shows us how we can create our own custom modifiers. I really like the idea of wrapping a network request to fetch an image in a custom ViewModifier. It's a great example of encapsulation and reuse.