Reading time: 1 min

This recipe shows how to implement an orientation stack in SwiftUI. This stack will lay out its content along the main screen axis - vertical or horizontal. In other words, it's a VStack if your phone is in portrait mode and an HStack if it's in landscape.

Continue Reading...

Reading time: 2 min

This recipe shows how to implement a custom separator/divider in any SwiftUI list feeded by a ForEach - like VStack, LazyVStack, HStack, LazyHStack, etc.

Continue Reading...

Reading time: 1 min

This recipe shows how to detect device orientation in SwiftUI. You can also use a binding to detect orientation changes.

Continue Reading...

Reading time: 1 min

This recipe shows how to get haptic feedback when touching SwiftUI views.

Continue Reading...

Reading time: 1 min

This recipe shows how to manage status bar in SwiftUI - set background color and material, as well as how to show and hide it.

Continue Reading...