metatext/Views/NewStatusView.swift

17 lines
448 B
Swift
Raw Normal View History

2020-12-06 03:10:27 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import SwiftUI
import ViewModels
struct NewStatusView: UIViewControllerRepresentable {
let viewModelClosure: () -> NewStatusViewModel
func makeUIViewController(context: Context) -> NewStatusViewController {
2021-01-01 00:49:59 +00:00
NewStatusViewController(viewModel: viewModelClosure())
2020-12-06 03:10:27 +00:00
}
func updateUIViewController(_ uiViewController: NewStatusViewController, context: Context) {
}
}