Created
August 24, 2022 18:03
-
-
Save ashishkakkad8/5e2ee98b03592762b15359bb842a29d1 to your computer and use it in GitHub Desktop.
PassDataSwiftUI
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
// | |
// SecondView.swift | |
// PassDataSwiftUI | |
// | |
// Created by Kode on 24/08/22. | |
// | |
import SwiftUI | |
struct SecondView: View { | |
var data = "" | |
var body: some View { | |
Text(data) | |
} | |
} | |
struct SecondView_Previews: PreviewProvider { | |
static var previews: some View { | |
SecondView() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment