I tried Nankea's solution, but it doesn't work for SwiftUI's View. I get "Extension of protocol 'View' cannot have an inheritance clause" on the second line.
Topic:
Developer Tools & Services
SubTopic:
General
Tags: