From e7975f151ca19f3c0d7c06a45b2d49cb0bee3f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Mon, 8 Jan 2024 16:10:55 +0300 Subject: [PATCH] d --- Modules/BusX/BusUI/src/BusUI.ManyTextField.swift | 9 ++++++++- Modules/MeetupIdX/src/MeetupId.Shoulds.swift | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift b/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift index 73f17fe..2bb96ad 100644 --- a/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift +++ b/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift @@ -8,6 +8,11 @@ extension BusUI { let textUI: String @Published public var id: String? @Published public var v = "a:" + { + didSet { + /**/print("ИГР BusUMTF.v didSet: '\(v)'") + } + } var subscriptions = [AnyCancellable]() var sub = [AnyCancellable]() @@ -52,6 +57,7 @@ extension BusUI { Bus.receiveSync( [textApp], { [weak self] (_, m: MPAK.Many) in + /**/print("ИГР BusUMTF.receiveS-1 id: '\(id)'") guard let id, m.keys.contains(id), @@ -59,7 +65,8 @@ extension BusUI { else { return } - + /**/print("ИГР BusUMTF.receiveS-2 id: '\(id)'") + self?.v = "a:\(text)" }, &subscriptions diff --git a/Modules/MeetupIdX/src/MeetupId.Shoulds.swift b/Modules/MeetupIdX/src/MeetupId.Shoulds.swift index 7a40147..4a8138e 100644 --- a/Modules/MeetupIdX/src/MeetupId.Shoulds.swift +++ b/Modules/MeetupIdX/src/MeetupId.Shoulds.swift @@ -70,7 +70,7 @@ public extension MeetupId { let text = c.testTextUI.dict[id] ?? "" d[id] = formatId(text) } - let r = .init(c.testTextUI.keys, d) + let r = MPAK.Many(c.testTextUI.keys, d) /**/print("ИГР MeetupIS.shouldMRT-3 r: '\(r)'") return r }