@@ -5,6 +5,7 @@ extension MicItem { | |||||
public struct V: View { | public struct V: View { | ||||
var id: String? | var id: String? | ||||
@StateObject var isActive = BusUI.Value(Mic.K.isActive, false) | @StateObject var isActive = BusUI.Value(Mic.K.isActive, false) | ||||
let ctrl = Controller() | |||||
let processors: [Any] | let processors: [Any] | ||||
public init(_ id: String? = nil) { | public init(_ id: String? = nil) { | ||||
@@ -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) } | |||||
) | |||||
} | |||||
} |
@@ -1,6 +1,6 @@ | |||||
PODS: | PODS: | ||||
- AELog (0.6.3) | - AELog (0.6.3) | ||||
- BusX (2024.01.15) | |||||
- BusX (2024.01.16) | |||||
- MeetupIdX (2023.12.31): | - MeetupIdX (2023.12.31): | ||||
- AELog | - AELog | ||||
- BusX | - BusX | ||||
@@ -34,7 +34,7 @@ EXTERNAL SOURCES: | |||||
SPEC CHECKSUMS: | SPEC CHECKSUMS: | ||||
AELog: f732b70f7a9d1b4c6a3676304192b3908f362133 | AELog: f732b70f7a9d1b4c6a3676304192b3908f362133 | ||||
BusX: 1db5cf8652f7b206af468cc115cab3326efd1ced | |||||
BusX: 7c7675152d44023781c7d46cda3617ceee41312f | |||||
MeetupIdX: 2fa9fb27717aa8878ff495c1abe960c96e524308 | MeetupIdX: 2fa9fb27717aa8878ff495c1abe960c96e524308 | ||||
MicX: 6ffa81f29a477a66cde277e3ade3de8ce2d47b91 | MicX: 6ffa81f29a477a66cde277e3ade3de8ce2d47b91 | ||||
MPAKX: dc592434f55edf34709f6e4f37c9ec90dcd95185 | MPAKX: dc592434f55edf34709f6e4f37c9ec90dcd95185 | ||||