This commit is contained in:
zeus
2025-01-22 16:22:33 +08:00
parent 09b9cec8ec
commit 738c373a77
2534 changed files with 0 additions and 486292 deletions
@@ -1,27 +0,0 @@
//
// ChatViewControllerWrapper.swift
// SFI
//
// Created by Mac on 2024/10/24.
//
import SwiftUI
import UIKit
import Crisp
// Step 2: Create a SwiftUI wrapper for ChatViewController
struct ChatViewControllerWrapper: UIViewControllerRepresentable {
// Initialize any properties needed to pass to ChatViewController
typealias UIViewControllerType = ChatViewController
func makeUIViewController(context: Context) -> ChatViewController {
// Return the ChatViewController
let chatViewController = ChatViewController()
return chatViewController
}
func updateUIViewController(_ uiViewController: ChatViewController, context: Context) {
// Update the view controller when needed
}
}