Reading time: 2 min

This tutorial shows how to style a navigation bar in SwiftUI - changing its background color, text color, as well as styling the status bar. The end result looks like this:

This component is available as a Swift Package in this repo.

The gist of the work is in using a ViewModifier...

Continue Reading...

Reading time: 1 min

This tutorial shows how to create a custom Swiftui Button style with distinct disabled and pressed states. The end result will look like this:

Default Pressed Disabled

Let's get down to business! First, define three colors that represent the default and disabled state. Also throw i...

Continue Reading...