Latest Post

SwiftUI NavigationView and NavigationStack SwiftUI Show progress of the task using SwiftUI ProgressView Flutter Vs React Native which is better?

 Use multiple Font text in swiftui fonts

In swift we used to add two different label for different font. this can be achieved in swiftui fonts.

We can add this in below format in SwiftUI.

struct ContentView: View {

    var body: some View {

        Text("Hello, World!") + Text(" Hello, World!").bold() + Text(" Hello, World!").underline()

    }

    

}
Screenshot%2B2021 08 25%2Bat%2B6.40.23%2BPM

Leave a Reply

Your email address will not be published.