1
0
mirror of https://github.com/metabolist/metatext synced 2025-01-22 23:41:38 +01:00
metatext-app-ios-iphone-ipad/Views/CompositionAttachmentContentConfiguration.swift
Justin Mazzocchi 4806c43202
wip
2021-01-03 12:01:55 -08:00

20 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
}
}