metatext/Views/StatusListView.swift

24 lines
574 B
Swift
Raw Normal View History

2020-08-21 02:29:01 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import SwiftUI
struct StatusListView: UIViewControllerRepresentable {
2020-08-26 21:20:44 +00:00
let viewModel: StatusListViewModel
2020-08-21 02:29:01 +00:00
func makeUIViewController(context: Context) -> StatusListViewController {
StatusListViewController(viewModel: viewModel)
}
func updateUIViewController(_ uiViewController: StatusListViewController, context: Context) {
}
}
2020-08-26 22:36:11 +00:00
#if DEBUG
struct StatusListView_Previews: PreviewProvider {
static var previews: some View {
StatusListView(viewModel: .development)
}
}
#endif