sample/iosApp/SampleApp/ContentView.swift
author Da Risk <da_risk@geekorum.com>
Tue, 06 May 2025 13:53:02 -0400
changeset 92 d0a027c33366
parent 67 581f0b7dc09d
permissions -rw-r--r--
build: update to compose-multiplatform 1.8.0

//
//  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()
}