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

19 lines
414 B
Swift
Raw Normal View History

2021-01-24 04:12:30 +01:00
// Copyright © 2020 Metabolist. All rights reserved.
import UIKit
import ViewModels
struct TagContentConfiguration {
let viewModel: TagViewModel
}
extension TagContentConfiguration: UIContentConfiguration {
func makeContentView() -> UIView & UIContentView {
TagView(configuration: self)
}
func updated(for state: UIConfigurationState) -> TagContentConfiguration {
self
}
}