SwiftUI

learn Apple’s SwiftUI.

Async Await with SwiftUI

In this article It has explanation how to use async/await with two network callsWe can use an array of Task instances to manage multiple concurrent tasks in Swift. This approach is useful for running multiple network requests in parallel and handling their results collectively. Here’s how you can incorporate an array of Task instances into […]

Async Await with SwiftUI Read More »

How to Change NavigationView Colour in SwiftUI

iOS 16 From iOS 16 we can use .toolbarBackground for the NavigationBar / NavigationView Color. Don’t forget to add .toolbarBackground(.visible, for: .navigationBar). You can also set title color of Navigation Item by using ToolbarItem iOS 13 Solution By setting up the UINavigationBarAppearance we can change the Navigation bar Color. But remember it will affect globally.

How to Change NavigationView Colour in SwiftUI Read More »