Friday, September 13, 2019

SwiftUI: Shadow Colors

In SwiftUI, you have the option to change the color of the shadow you add to views. (I exaggerated them here for effect.)
💡Tip: Consider using Color.primary if you don't want to lose your shadow in dark mode. (last example)

SwiftUI Book: https://bigmountainstudio.com/swiftui-views-book
Code: https://patreon.com/posts/29943364

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...