Using the ViewBuilder Attribute to Implement SwiftUI Views in Methods

Photo by Alan Rodriguez on Unsplash

SwiftUI provides undeniably a funny and innovative way to create user interfaces. We can get great visual results much faster and with less pain comparing to UIKit, despite any lack of features SwiftUI might still has…

--

--

--

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gabriel Theodoropoulos

Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

More from Medium

Creating Enums with Custom Raw Type in Swift

SwiftUI Tutorial — How to use a ProgressView with URLSession

Working with GroupBox in SwiftUI

GeometryReader in SwiftUI