metatext-app-ios-iphone-ipad/Views/NewStatusView.swift

17 lines
448 B
Swift
Raw Normal View History

2020-12-06 04:10:27 +01: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 01:49:59 +01:00
NewStatusViewController(viewModel: viewModelClosure())
2020-12-06 04:10:27 +01:00
}
func updateUIViewController(_ uiViewController: NewStatusViewController, context: Context) {
}
}