Custom Alert view in SwiftUI – (Xcode 12.1)

Presenting system alerts in SwiftUI is super easy. Just call the instance of Alert class and pass the respecting parameters, but system alerts are very basic and non-customizable default design.…

SwiftUI: Create Tabbed View in SwiftUI

In this iOS tutorial, we will talk about how we can implement Tabbed View or Tab View in SwiftUI. Tab View use to display a view when tab items are selected. Each tab…

SwiftUI: How to use ZStack in SwiftUI

Using stacks in SwiftUI allows us to arrange views in a single view with some properties like HStack allow us to arrange views in the horizontal line. VStack allows us to arrange views in a vertical…