2025-01-27 22:30:27 +01:00

26 lines
405 B
Swift

import SwiftUI
import SFSafeSymbols
protocol InsertableCommandView: View {
associatedtype Model: InsertableCommandModel
static var title: String { get }
static var sheetTitle: String { get }
static var icon: SFSymbol { get }
init(model: Model)
}
protocol InsertableCommandModel: ObservableObject {
var isReady: Bool { get }
var command: String? { get }
init()
}