metatext/Views/CompositionAttachmentContentConfiguration.swift
Justin Mazzocchi 4806c43202
wip
2021-01-03 12:01:55 -08:00

19 lines
550 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import UIKit
import ViewModels
struct CompositionAttachmentContentConfiguration {
let viewModel: CompositionAttachmentViewModel
let parentViewModel: CompositionViewModel
}
extension CompositionAttachmentContentConfiguration: UIContentConfiguration {
func makeContentView() -> UIView & UIContentView {
CompositionAttachmentView(configuration: self)
}
func updated(for state: UIConfigurationState) -> CompositionAttachmentContentConfiguration {
self
}
}