Archive for September, 2019

SwiftUI: Solid filled background.

Tuesday, September 17th, 2019

Let’s start with something simple. Looking for a way to fill the screen with a solid colour? The Spacer component expands to fill the available space. Add it at the root of the layout to simply fill the space with a colour. var body: some View { Spacer().background(Color.green) } If you want to layer things […]

SwiftUI

Tuesday, September 17th, 2019

Time to start blogging again. SwiftUI is heating things up.  Is this thing on?