sample/iosApp/SampleApp/ContentView.swift
author Da Risk <da_risk@geekorum.com>
Tue, 06 May 2025 12:51:17 -0400
changeset 88 15d74076b49d
parent 67 581f0b7dc09d
permissions -rw-r--r--
ui:material3: add modifier parameter to AdaptiveOpenSourceDependenciesScreen and OpenSourceDependenciesNavHost

//
//  ContentView.swift
//  SampleApp
//
//  Created by Da Risk on 28/04/2025.
//

import SwiftUI
import aboutoss_sample_app

struct ContentView: View {
    var body: some View {
//        VStack {
//            Image(systemName: "globe")
//                .imageScale(.large)
//                .foregroundStyle(.tint)
//            Text("Hello, world!")
//        }
//        .padding()
        ComposeViewController()
    }
}

struct ComposeViewController: UIViewControllerRepresentable {
    func makeUIViewController(context: Context) -> UIViewController {
        return MainKt.MainViewController()
    }

    func updateUIViewController(_ uiViewController: UIViewController, context: Context) {
    }
}

#Preview {
    ContentView()
}