SwiftUI Styling

Filter by category
Filter by tag

Styling custom SwiftUI views using environment

One of my favorite features of SwiftUI is styling. I love the idea of style protocols provided by every view and sharing them using the environment. I have already covered most of the style protocols for SwiftUI provided views in my previous posts. But what about custom views? This week we will learn how to share styling using environment for our custom views.

Dec 9, 2020swiftwithmajid.com
  • Environment
  • Styling
  • View
289

SwiftUIKit

SwiftUIKit adds extra functionality to SwiftUI, like extensions to existing types and completely new views, pickers, utilites, services etc. SwiftUIKit is divided into these areas: Blurs, Cameras, Data, Extensions, Gestures, Navigation, Pickers, Presentation, Sharing, Styles Views

Created: Mar 4, 2020Last commit: Feb 21, 2021danielsaidi
Jan 22, 2021swiftui-lab.com