Created
September 19, 2021 18:51
-
-
Save dheerajn/29ed78e38245c3f0eb8535403260936f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import SwiftUI | |
struct View1: View { | |
var body: some View { | |
ZStack { | |
Color.red | |
Text("View - 1") | |
} | |
} | |
} | |
struct View2: View { | |
var body: some View { | |
ZStack { | |
Color.yellow | |
Text("View - 2") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment