d
This commit is contained in:
20
Modules/MicX/MicItem/src/MicItem.WillBe.swift
Normal file
20
Modules/MicX/MicItem/src/MicItem.WillBe.swift
Normal file
@@ -0,0 +1,20 @@
|
||||
import MPAKX
|
||||
|
||||
public protocol MicItemContext {
|
||||
var activityDate: MPAK.Recent<Date?> { get }
|
||||
}
|
||||
|
||||
extension MicItem {
|
||||
public struct Model: MicItemContext {
|
||||
public var activityDate: MPAK.Recent<Date?> = .init(nil)
|
||||
}
|
||||
|
||||
final class Controller: MPAK.Controller<MicItem.Model> {
|
||||
init() {
|
||||
super.init(
|
||||
MicItem.Model(),
|
||||
debugClassName: "MicICtrl",
|
||||
debugLog: { print($0) }
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user