| 
67
 | 
     1  | 
//
  | 
| 
 | 
     2  | 
//  ContentView.swift
  | 
| 
 | 
     3  | 
//  SampleApp
  | 
| 
 | 
     4  | 
//
  | 
| 
 | 
     5  | 
//  Created by Da Risk on 28/04/2025.
  | 
| 
 | 
     6  | 
//
  | 
| 
 | 
     7  | 
  | 
| 
 | 
     8  | 
import SwiftUI
  | 
| 
 | 
     9  | 
import aboutoss_sample_app
  | 
| 
 | 
    10  | 
  | 
| 
 | 
    11  | 
struct ContentView: View {
 | 
| 
 | 
    12  | 
    var body: some View {
 | 
| 
 | 
    13  | 
//        VStack {
 | 
| 
 | 
    14  | 
//            Image(systemName: "globe")
  | 
| 
 | 
    15  | 
//                .imageScale(.large)
  | 
| 
 | 
    16  | 
//                .foregroundStyle(.tint)
  | 
| 
 | 
    17  | 
//            Text("Hello, world!")
 | 
| 
 | 
    18  | 
//        }
  | 
| 
 | 
    19  | 
//        .padding()
  | 
| 
 | 
    20  | 
        ComposeViewController()
  | 
| 
 | 
    21  | 
    }
  | 
| 
 | 
    22  | 
}
  | 
| 
 | 
    23  | 
  | 
| 
 | 
    24  | 
struct ComposeViewController: UIViewControllerRepresentable {
 | 
| 
 | 
    25  | 
    func makeUIViewController(context: Context) -> UIViewController {
 | 
| 
 | 
    26  | 
        return MainKt.MainViewController()
  | 
| 
 | 
    27  | 
    }
  | 
| 
 | 
    28  | 
  | 
| 
 | 
    29  | 
    func updateUIViewController(_ uiViewController: UIViewController, context: Context) {
 | 
| 
 | 
    30  | 
    }
  | 
| 
 | 
    31  | 
}
  | 
| 
 | 
    32  | 
  | 
| 
 | 
    33  | 
#Preview {
 | 
| 
 | 
    34  | 
    ContentView()
  | 
| 
 | 
    35  | 
}
  |