struct DevTechieGroupExample: View { var body: some View { VStack { Text("DevTechie Courses") .font(.largeTitle) Group { Text("SwiftUI") Text("Combine") Text("iOS Development") }.font(.body) } } }
struct DevTechieGroupExample: View { @State private var loggedIn = true var body: some View { NavigationView { Group { if loggedIn { Text("Welcome DevTechie!") } else { Text("Please login!") } } .navigationTitle("DevTechie Courses") } } }
struct DevTechieGroupExample: View { var body: some View { VStack { Text("DevTechie Courses") .font(.largeTitle) Group { Text("SwiftUI") Text("Combine") Text("iOS Development") } .font(.body) .foregroundColor(.orange) } } }
struct DevTechieGroupExample: View { var body: some View { VStack { Text("DevTechie Courses") .font(.largeTitle) Group { Text("UIkit") Text("SwiftUI") Text("Combine") Text("iOS Development") Text("Swift") Text("Machine Learning") Text("Flutter") Text("Firebase") Group { Text("Android") Text("Java") Text("Kotlin") } } .font(.body) .foregroundColor(.orange) } } }
With that we have reached the end of this article. Thank you once again for reading. If you liked this, don’t forget to 👏 and follow 😍. Also subscribe to our weekly newsletter at https://www.devtechie.com