Михаил Капелько 10 months ago
parent
commit
4033fba38c
3 changed files with 23 additions and 2 deletions
  1. +1
    -0
      Modules/MicX/MicItem/src/MicItem.V.swift
  2. +20
    -0
      Modules/MicX/MicItem/src/MicItem.WillBe.swift
  3. +2
    -2
      app/Podfile.lock

+ 1
- 0
Modules/MicX/MicItem/src/MicItem.V.swift View File

@@ -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) {


+ 20
- 0
Modules/MicX/MicItem/src/MicItem.WillBe.swift View 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) }
)
}
}

+ 2
- 2
app/Podfile.lock View File

@@ -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


Loading…
Cancel
Save