SwiftUI 4 — Gradients and Shadows

Photo by Luke Chesser on Unsplash

SwiftUI 4 brought us a lot of amazing new stuff: Views, APIs, tools… Among them there are two small things, small extensions that can really bring life to our apps. Gradients and Shadows.

Let’s briefly take a look at them.

Gradients

--

--

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