metatext/Views/TagContentConfiguration.swift

19 lines
414 B
Swift
Raw Normal View History

2021-01-24 03:12:30 +00: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
}
}