3 Ways to Customise Your Views in SwiftUI

Custom views are great, but how can we make them feel Swiftier?

Alex Logan
Better Programming
Published in
2 min readApr 7, 2020

--

Photo by Maxwell Nelson on Unsplash.

SwiftUI is really flexible and offers more than one way to customise your views. It lets us lean on Swift to really push the declarative syntax and create slim views.

We’re going to look at three ways to do the exact same thing: customise some text to match our…

--

--