mirror of
https://github.com/metabolist/metatext
synced 2024-12-19 04:52:52 +01:00
24 lines
574 B
Swift
24 lines
574 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import SwiftUI
|
|
|
|
struct StatusListView: UIViewControllerRepresentable {
|
|
let viewModel: StatusListViewModel
|
|
|
|
func makeUIViewController(context: Context) -> StatusListViewController {
|
|
StatusListViewController(viewModel: viewModel)
|
|
}
|
|
|
|
func updateUIViewController(_ uiViewController: StatusListViewController, context: Context) {
|
|
|
|
}
|
|
}
|
|
|
|
#if DEBUG
|
|
struct StatusListView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
StatusListView(viewModel: .development)
|
|
}
|
|
}
|
|
#endif
|